diff options
-rwxr-xr-x | lib/puppet/type/mount.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb index 25ca5e9d0..e79bc0a4a 100755 --- a/lib/puppet/type/mount.rb +++ b/lib/puppet/type/mount.rb @@ -140,8 +140,9 @@ module Puppet end newproperty(:dump) do - desc "Whether to dump the mount. Not all platforms -+ support this. Valid values are ``1`` or ``0``. or ``2`` on FreeBSD, Default is ``0``." + desc "Whether to dump the mount. Not all platform 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 |