summaryrefslogtreecommitdiffstats
path: root/examples/modules
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-07 12:48:37 -0600
committerLuke Kanies <luke@madstop.com>2008-11-07 12:48:37 -0600
commitcc046460e36eb6273a4f08de2167de25098d20cb (patch)
treef532a15e25a831b1dfdff70098de16a93f3ca9d2 /examples/modules
parenta73cad9c8fabb8314e87753a3f73cf96fd4dc560 (diff)
downloadpuppet-cc046460e36eb6273a4f08de2167de25098d20cb.tar.gz
puppet-cc046460e36eb6273a4f08de2167de25098d20cb.tar.xz
puppet-cc046460e36eb6273a4f08de2167de25098d20cb.zip
Refactoring Catalog#add_resource to correctly handle implicit resources.
It now ignores or removes implicit resources that conflict, and it yields all resources that are valid. This makes it simple for calling classes to pass in a list of resources but only perform a chunk of work for valid (i.e., non-conflicting) resources. This refactor is entirely meant as a way of cleaning up the Transaction#generate interface to the catalog. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'examples/modules')
0 files changed, 0 insertions, 0 deletions