diff options
author | Stefan Schulte <stefan.schulte@taunusstein.net> | 2011-01-23 13:03:15 +0100 |
---|---|---|
committer | Stefan Schulte <stefan.schulte@taunusstein.net> | 2011-01-25 21:23:35 +0100 |
commit | 2884660768fbea22a91e3c5bab9595ce075e67a5 (patch) | |
tree | a1574c0e674e165948d92489bfea076a45ef5e40 /lib/puppet/util/rdoc/code_objects.rb | |
parent | ade951aa9d0017743059f282cbc1611a8b0b02f0 (diff) | |
download | puppet-2884660768fbea22a91e3c5bab9595ce075e67a5.tar.gz puppet-2884660768fbea22a91e3c5bab9595ce075e67a5.tar.xz puppet-2884660768fbea22a91e3c5bab9595ce075e67a5.zip |
(#4914) Prefetch mountstate
Add a method mountinstances that returns a list of currently mounted
filesystems and overwrite prefetch to update the :ensure state of a
mount resource to either
- :absent => not in fstab and not mounted
- :unmounted => in fstab but not mounted
- :mounted => in fstab and mounted
- :ghost => not in fstab but mounted
This is just one step towards 4914. Next will be query the property_hash
when asking mounted? and update the insync? methods to handle the
different states.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions