summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2011-01-07 15:39:52 -0800
committerPaul Berry <paul@puppetlabs.com>2011-01-07 15:46:33 -0800
commit8f314f2bb14d61a2a26b67d002d90f84349b25b5 (patch)
tree5b5377e91a9188e68a52fc47525792a7ddc360b1 /lib/puppet/util/rdoc/code_objects.rb
parente2700869a98ed769cea3d880a23e2f80330ea0fc (diff)
downloadpuppet-8f314f2bb14d61a2a26b67d002d90f84349b25b5.tar.gz
puppet-8f314f2bb14d61a2a26b67d002d90f84349b25b5.tar.xz
puppet-8f314f2bb14d61a2a26b67d002d90f84349b25b5.zip
(#5710) Removed unnecessary calls to insync?
In the resource harness, we were calling insync? on all properties of a resource, even if those properties weren't being managed. This was unsafe. Changed to only call insync? on properties that are mentioned in the manifest. In addition, we discovered that the resource harness's computation of desired_values was incorrect, and was consulting the current system state rather than the desired state. Since this hash was (erroneously) only being consulted to see if it included :ensure, this didn't cause any obvious bugs. However it is now fixed. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions