Issue #2405 has been reported by Ryan Langseth.
----------------------------------------
Bug #2405: Mount parameter "dump" doesn't accept all valid values on FreeBSD
http://projects.reductivelabs.com/issues/2405
Author: Ryan Langseth
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Trivial
Affected version: 0.24.8
Keywords:
On FreeBSD system the default value for "dump" within fstab is 2 Puppet
complains this is invalid when managing "dump"
I did not change anything within the defaultto, for FreeBSD systems this is 2
for everything except / which is 1
--- mount.rb 2009-07-09 20:08:18.000000000 -0500
+++ mount.rb.new 2009-07-09 20:07:47.000000000 -0500
@@ -141,7 +141,12 @@
newproperty(:dump) do
desc "Whether to dump the mount. Not all platforms
- support this. Valid values are ``1`` or ``0``. Default is
``0``."
+ support this. Valid values are ``1`` or ``0``. or ``2`` on
FreeBSD, Default is ``0``."
+ if Facter["operatingsystem"].value == "FreeBSD"
+ newvalue(%r{(0|1|2)})
+ else
+ newvalue(%r{(0|1)})
+ end
defaultto {
if @resource.managed?
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---