summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-05-05 20:45:19 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-05-05 20:45:19 +1000
commit2b185af97882afb4a7feab42de97771ceed80b43 (patch)
tree8937ce50b0687644d55d341c5bb5e7cd2bd61c84 /lib
parent69fc802fde27f1de09d6e0d68e1d79ff1c08acdd (diff)
downloadpuppet-2b185af97882afb4a7feab42de97771ceed80b43.tar.gz
puppet-2b185af97882afb4a7feab42de97771ceed80b43.tar.xz
puppet-2b185af97882afb4a7feab42de97771ceed80b43.zip
Add values for dump parameter for the mount type closing #1212
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/mount.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb
index e18630cc8..1679b73a3 100755
--- a/lib/puppet/type/mount.rb
+++ b/lib/puppet/type/mount.rb
@@ -141,7 +141,9 @@ module Puppet
newproperty(:dump) do
desc "Whether to dump the mount. Not all platforms
- support this."
+ support this. Valid values are ``1`` or ``0``. Default is ``0``."
+
+ newvalue(%r{(0|1)}) { }
defaultto {
if @resource.managed?