diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-06 06:43:43 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-06 06:43:43 +0000 |
| commit | d10a6385287bbd28ad746db7bc63548fb4ad5575 (patch) | |
| tree | 5a0cc28f8c74a5d71d51abc229962fcd6d988568 /lib/puppet | |
| parent | 83d5236e096530bc7d2c50ad36f525ebfc0f6327 (diff) | |
| download | puppet-d10a6385287bbd28ad746db7bc63548fb4ad5575.tar.gz puppet-d10a6385287bbd28ad746db7bc63548fb4ad5575.tar.xz puppet-d10a6385287bbd28ad746db7bc63548fb4ad5575.zip | |
Committing an important fix to mounts; since i am sure no one has downloaded 0.15.3, i am just going to rerelease 0.15.3 with this fix in it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1093 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
| -rwxr-xr-x | lib/puppet/type/parsedtype/mount.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/puppet/type/parsedtype/mount.rb b/lib/puppet/type/parsedtype/mount.rb index e1c6388bd..1e6bfdddb 100755 --- a/lib/puppet/type/parsedtype/mount.rb +++ b/lib/puppet/type/parsedtype/mount.rb @@ -32,6 +32,15 @@ module Puppet :mount_mounted end + + def retrieve + if @parent.mounted? + @is = :mounted + else + val = super() + @is = val + end + end end newstate(:device) do |
