diff options
| author | Stefan Schulte <stefan.schulte@taunusstein.net> | 2011-01-23 13:10:17 +0100 |
|---|---|---|
| committer | Stefan Schulte <stefan.schulte@taunusstein.net> | 2011-01-25 21:23:35 +0100 |
| commit | fd111f26f17b3dbdd0de310d0a4b43877eef7e14 (patch) | |
| tree | be8280e50486fcd6c302d61fa7672540c0ebf4a6 /examples/code/modules/sample-module/manifests | |
| parent | 2884660768fbea22a91e3c5bab9595ce075e67a5 (diff) | |
| download | puppet-fd111f26f17b3dbdd0de310d0a4b43877eef7e14.tar.gz puppet-fd111f26f17b3dbdd0de310d0a4b43877eef7e14.tar.xz puppet-fd111f26f17b3dbdd0de310d0a4b43877eef7e14.zip | |
(#4914) Query property_hash for mountstate
Change mounted? to query the property_hash so we don't have to run the
mountcommand for every specified mount but rely on the prefetched state
Also update the prefetched property_hash[:ensure] after mount or umount.
This is important if we query mounted? later (most obvious when refresh
is called. We dont want to remount a resource that was umounted before)
Diffstat (limited to 'examples/code/modules/sample-module/manifests')
0 files changed, 0 insertions, 0 deletions
