HomePhorge

(PUP-2906) Refactor collector into several classes
d619ba0aed0dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2906) Refactor collector into several classes

Prior to this commit, the parser created a Puppet::Parser::Collector
in order to collect resources. However, there were three distinct
code paths that needed to be dealt with: collection of virtual
resources, collection of exported resources, and realization of
a set of resources.

In order to make the code for collection more readable and manageable,
split up the current collector into three different collectors which
reflect the code paths described above.

Additionally, make some changes to the compiler so that it is compatible
with these new collectors while still supporting the old 3x collector.

Details

Provenance
Hailee Kenney <hailee@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU95b738e1e369: (PUP-2906) Reimplement collection evaluation
Branches
Unknown
Tags
Unknown

Event Timeline

Hailee Kenney <hailee@puppetlabs.com> committed rPUd619ba0aed0d: (PUP-2906) Refactor collector into several classes (authored by Hailee Kenney <hailee@puppetlabs.com>).Nov 7 2014, 8:41 PM