diff options
| author | Luke Kanies <luke@madstop.com> | 2008-11-07 12:48:37 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-11-07 12:48:37 -0600 |
| commit | cc046460e36eb6273a4f08de2167de25098d20cb (patch) | |
| tree | f532a15e25a831b1dfdff70098de16a93f3ca9d2 /examples/modules/sample-module.pp | |
| parent | a73cad9c8fabb8314e87753a3f73cf96fd4dc560 (diff) | |
| download | puppet-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/sample-module.pp')
0 files changed, 0 insertions, 0 deletions
