HomePhorge

(#9671) Generated resources should not depend on the completed_ whit
2cb6d72c67b1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9671) Generated resources should not depend on the completed_ whit

In #eval_generate, we rewire anything which depends on the resource to instead
depend on its completed_ whit, which signifies the completion of the "whole"
resource (the resource + its children). This ensures anyting depending on the
resource doesn't run until the resource and its children have all run. In some
cases (such as when generated resources autorequired the generating resource)
we would also rewire the child resources to depend on the completed_ whit.

This is incorrect, because we consider child resources to be "part" of the
resource; that is, the completed_ whit should not be 'done' until the children
are done. Now, when rewiring these dependencies, we skip generated resources.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa5845b7ea0bb: (#9671) Exit early from #eval_generate if nothing is created
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU2cb6d72c67b1: (#9671) Generated resources should not depend on the completed_ whit (authored by Nick Lewis <nick@puppetlabs.com>).Nov 11 2011, 11:26 PM