HomePhorge

(PUP-3244) ENC ignores missing directory environments
8b5ffc854f1fUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3244) ENC ignores missing directory environments

When using an ENC, if an environment that didn't exist was defined for a
node puppet would place the node into the production environment instead
of raising an error to alert the user that the environment that had been
requested did not exist.

This commit changes the behaviour when an environment is defined in an
ENC but does not actually exist. Instead of placing the node into the
production environment a Puppet::Environments::EnvironmentNotFound error
is raised.

Details

Provenance
Britt Gresham <britt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6d0d748f9e28: Merge pull request #3122 from hkenney/issue/stable/pup…
Branches
Unknown
Tags
Unknown

Event Timeline

Britt Gresham <britt@puppetlabs.com> committed rPU8b5ffc854f1f: (PUP-3244) ENC ignores missing directory environments (authored by Britt Gresham <britt@puppetlabs.com>).Sep 30 2014, 8:25 PM