You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2018. It is now read-only.
mounts { 'Old Collections':
ensure => absent,
source => 'nfsserver:/volume/data',
dest => '/old/mountpoint',
type => 'nfs',
opts => 'ro,auto,user,defaults,nofail',
}
I got this error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type notice at /etc/puppet/environments/testing/modules/mounts/manifests/init.pp:75 on node ourserver.example.com
So I commented out the notice("${dest} wasn't removed after... line 75 and tried again and got:
Error: /Stage[main]/OurServer::Testbeds/Mounts[Old Collections]/Fstab[fstab entry for nfsserver:/volume/data to /old/mountpoint as nfs]/Fstab::Augeas[fstab entry for nfsserver:/volume/data to /old/mountpoint as nfs]/Augeas[fstab entry for nfsserver:/volume/data to /old/mountpoint as nfs]: Could not evaluate: Error sending command 'match' with params nil/Unknown command
This second error may be in your fstab module, in which case I can file it against that if you want.
I tried using only the fstab module:
fstab { 'Old Collections':
ensure => absent,
source => 'nfsserver:/volume/data',
dest => '/old/mountpoint',
type => 'nfs',
}
And I got:
Error: /Stage[main]/OurServer::Testbeds/Fstab[Old Collections]/Fstab::Augeas[Old Collections]/Augeas[Old Collections]: Could not evaluate: Error sending command 'match' with params nil/Unknown command
Using this code:
I got this error:
So I commented out the
notice("${dest} wasn't removed after...line 75 and tried again and got:This second error may be in your fstab module, in which case I can file it against that if you want.
I tried using only the fstab module:
And I got: