Issue #6845 has been reported by John Warburton.
----------------------------------------
Bug #6845: mount tmpfs on Solaris fail
https://projects.puppetlabs.com/issues/6845
Author: John Warburton
Status: Unreviewed
Priority: High
Assignee:
Category:
Target version:
Affected Puppet version: 2.6.7rc1
Keywords: Solaris mount /tmp tempfs
Branch:
The newly released 2.6.7 mount provider fails on Solaris 10 U9, and does not
modify the /etc/vfstab, but just adds another (wrong) line
mount.pp:
mount{ "/tmp":
device => "swap",
blockdevice => "-",
fstype => "tmpfs",
pass => "-",
atboot => "yes",
options => "size=512m",
# http://projects.puppetlabs.com/issues/4904
ensure => $puppetversion ? {
/0\.25/ => mounted,
default => present,
},
}
/etc/vfstab before:
swap - /tmp tmpfs - yes -
Apply the change
# puppet apply --verbose --color true /tmp/mount.pp
info: Applying configuration version '1301028968'
notice: /Stage[main]//Mount[/tmp]/ensure: ensure changed 'ghost' to
'defined'
info: FileBucket adding {md5}de855ac78119686e92d519e9068c3e70
info: /Stage[main]//Mount[/tmp]: Scheduling refresh of Mount[/tmp]
notice: /Stage[main]//Mount[/tmp]: Triggered 'refresh' from 1 events
info: /Stage[main]//Mount[/tmp]: Scheduling refresh of Mount[/tmp]
notice: Finished catalog run in 0.22 seconds
/etc/vfstab after:
swap - /tmp tmpfs - yes -
swap /tmp tmpfs size=512m 0 -
Expected result:
swap - /tmp tmpfs - yes size=512m
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.