HomePhorge

Moved perform_initial_import from Puppet::Resource::TypeCollection to Puppet…
caca187dffbdUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Moved perform_initial_import from Puppet::Resource::TypeCollection to Puppet::Node::Environment.

This change is part of an ongoing effort to remove functionality from
TypeCollection that is not related to keeping track of a collection of
types. This reduces TypeCollection's linkage to the environment,
which is a step toward decoupling it from the type loading mechanism.

Also, added a spec test to verify that TypeCollection.version is
correctly recomputed when types are re-imported.

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6b1dd81799a4: [#4472]+[#4483] Moved type-name resolution out of Puppet::Parser::TypeLoader.
Branches
Unknown
Tags
Unknown

Event Timeline