summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-13 09:46:15 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-13 09:46:15 +0000
commit7fa96cb82d438f214b33af688c065bd6d387f609 (patch)
treec2b0aca7cba1ba2225b8511a0bed15c52e8fdacb
parentdb5d9d427efeaa4b376adc2bf3f4e0e95b7fe03e (diff)
downloadpuppet-7fa96cb82d438f214b33af688c065bd6d387f609.tar.gz
puppet-7fa96cb82d438f214b33af688c065bd6d387f609.tar.xz
puppet-7fa96cb82d438f214b33af688c065bd6d387f609.zip
Another small fix, just for solaris
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1878 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xlib/puppet/type/mount.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb
index 517f52632..4ec6d3516 100755
--- a/lib/puppet/type/mount.rb
+++ b/lib/puppet/type/mount.rb
@@ -143,6 +143,14 @@ module Puppet
@doc = "Manages mounted mounts, including putting mount
information into the mount table. The actual behavior depends
on the value of the 'ensure' parameter."
+
+ def value(name)
+ name = symbolize(name)
+ ret = nil
+ if state = @states[name]
+ return state.value
+ end
+ end
end
end