diff options
author | Rein Henrichs <reinh@reinh.com> | 2009-11-11 11:17:13 -0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-11-13 08:32:19 +1100 |
commit | 53f40bd336d709e717edb621a9d68dde9a4d5bce (patch) | |
tree | d119798f1bd34b49ea58aa8436ae20e9286a2577 /lib/puppet/parser/files.rb | |
parent | 3fdc8effbe25c9653d8bc86f2d4847984d4cb6f3 (diff) | |
download | puppet-53f40bd336d709e717edb621a9d68dde9a4d5bce.tar.gz puppet-53f40bd336d709e717edb621a9d68dde9a4d5bce.tar.xz puppet-53f40bd336d709e717edb621a9d68dde9a4d5bce.zip |
Fix #2681 Incorrectly duplicating resources
Ensure that resources whose refs are included in the catalog are
skipped to avoid duplication.
* Refactor to avoid early bailout on resources that cannot be ensured
absent.
* Remove check for managed? in generate
Checking if a resource is managed is unnecessary when checking for its
inclusion in the catalog.
* Add test coverage for Puppet::Type::Resources#generate
Diffstat (limited to 'lib/puppet/parser/files.rb')
0 files changed, 0 insertions, 0 deletions