Kenneth Holter
2010-Feb-19 10:06 UTC
[Puppet Users] Puppet mounts CIFS file system every run
Hi.
I''m using the mount resource type to mount a CIFS file system. This is
my
configuration:
-- code --
file {"/mnt/remote_file_system":
ensure => directory
}
mount { "/mnt/remote_file_system/":
device => "//$shares_server/share",
fstype => cifs,
ensure => mounted,
remounts => true,
options => "defaults,acl,soft,[…]",
pass => "0",
dump => "0",
require => File["/mnt/remote_file_system"],
subscribe => File["/root/credentials.txt"]
}
-- code --
Whenever puppet runs, it seems to mount the file system each time around,
which is indiated by multiple identical entries when running "mount"
or "cat
/proc/mounts". Can anyone see why puppet behaves like this using my
configuration?
Best regards,
Kenneth Holter
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.