HomePhorge

(PUP-3268) Remove legacy environment support
45f98c381404Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3268) Remove legacy environment support

Removes the deprecated legacy environment construction and cacheing code
from Puppet::Node::Environment. Continues to use create() for instance
creation; new delegates to create() and is marked private now.
References to clear the legacy environment cache are removed from
Settings and TestHelper. Environment names are explicitly interned on
creation. This was being done already in the environment loaders, so
this change just makes the behavior consistent for manual use of
Puppet::Node::Environment.create(). The node/environment_spec was
overhauled as well to remove mocking and update for current rspec
practices.

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0ee34f5b461f: (maint) Make Puppet::Module#== public
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU45f98c381404: (PUP-3268) Remove legacy environment support (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Dec 4 2014, 9:41 PM