Issue #22769 has been reported by Paul Lussier.
----------------------------------------
Bug #22769: mount{} type on Solaris 10 requires 'atboot' option to be set to
true.
https://projects.puppetlabs.com/issues/22769
* Author: Paul Lussier
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category: Solaris
* Target version:
* Affected Puppet version: 2.7.21
* Keywords: mount solaris
* Branch:
----------------------------------------
$mountops = 'proto=tcp,vers=3,rsize=32768,wsize=32768,noexec,nosuid,rw,bg,hard\
,intr'
$fs = '/foo'
# This works fine
mount {
$fs :
device => "${nfs_server}:${fs}",
atboot => true,
ensure => mounted,
fstype => 'nfs',
blockdevice => '-',
options => $mountops,
dump => 1;
}
#####
# The following fail
#####
mount {
$fs :
device => "${nfs_server}:${fs}",
ensure => mounted,
fstype => 'nfs',
blockdevice => '-',
options => $mountops,
dump => 1;
}
mount {
$fs :
device => "${nfs_server}:${fs}",
atboot => false,
ensure => mounted,
fstype => 'nfs',
blockdevice => '-',
options => $mountops,
dump => 1;
}
The error message provided for the last two calls to mount is:
"err: /Stage[main]/Mount[/foo]/ensure: change from absent to mounted failed:
Got a nil value for should at /etc/puppet/manifests/nodes.pp:68"
This does not occur on Linux, or with puppet 2.7.9 and earlier.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.