summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-02-17 11:52:45 -0800
committerJacob Helwig <jacob@puppetlabs.com>2011-02-18 15:26:47 -0800
commit6cb365a887d47606bdfae0ff540038b0c49b7451 (patch)
tree9ca7654b76e0a4118480e624dc34e38a656e9783 /lib/puppet/util/rdoc/code_objects.rb
parent3b41d44812eed82d41e135375df15ae0bc3b4800 (diff)
downloadpuppet-6cb365a887d47606bdfae0ff540038b0c49b7451.tar.gz
puppet-6cb365a887d47606bdfae0ff540038b0c49b7451.tar.xz
puppet-6cb365a887d47606bdfae0ff540038b0c49b7451.zip
(#6309) Ensure the correct device is mounted when managing mounts
Previously the mount type would only check if anything was mounted at the desired point, when 'ensure => mounted' was specified. Now we check not only whether something is mounted at the desired point, but also that it is the thing we wish to be mounted there. There is also a chance that the mount point directory could be "automagically" removed for us, when unmounting incorrect devices, so we attempt to re-create the directory after unmounting to give the mount of the correct device a better chance at succeeding. Paired-with: Matt Robinson <matt@puppetlabs.com> Paired-with: Nick Lewis <nick@puppetlabs.com> Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions