Hi there!
I have still a problem in using the pupppet mount-module.
Master 3.3.2 on Ubuntu 12.04 LTS 64 bit.
Agent with problem:
SLES 10 SP2 64 Bit with Agent 2.7.21
The mount should be created by the following:
file { '/opt/Logfiles':
ensure => directory,
notify => Mount ['/opt/Logfiles'],
}
mount { "/opt/Logfiles":
name => "/opt/Logfiles",
ensure => "present",
atboot => "true",
blockdevice => "-",
device => "logserver1:/LOG1/Logfiles",
fstype => "nfs",
options => "defaults",
require => File ['/opt/Logfiles'],
}
On the client the following error is shown:
puppet agent --verbose --onetime --no-daemonize
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for XXX.loc
info: Applying configuration version '1384768567'
notice: /Stage[main]//Node[XXX.loc]/Mount[/opt/Logfiles]/ensure: defined 'ensure' as 'defined'
info: FileBucket got a duplicate file {md5}842588410211eba6cce2b68cecec5cf4
err: /Stage[main]//Node[XXX.loc]/Mount[/opt/Logfiles]: Could not evaluate: Field 'device' is required
notice: Finished catalog run in 0.06 secondsI thought that bug should be removed, see here:
https://github.com/puppetlabs/puppet/commit/67e1ff6The strange is, that a SLES 11 has no problem with this with an 2.6 agent...
Kind regards,
Daniel