HomePhorge

(#9671) Exit early from #eval_generate if nothing is created
a5845b7ea0bbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9671) Exit early from #eval_generate if nothing is created

We now exit early if #eval_generate does not produce any resources.
This has the impact of not adding a completed_ whit for the resource,
which is not necessary without any children.

We also now return true if #eval_generate created resources, and false
if it did not. This allows callers to reason about whether the graph
actually changed.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7002eff7e369: (#9617) Be smarter about finding parents when eval_generating
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUa5845b7ea0bb: (#9671) Exit early from #eval_generate if nothing is created (authored by Nick Lewis <nick@puppetlabs.com>).Nov 11 2011, 11:26 PM