HomePhorge

(PUP-1596) Read environment.conf for new directory environments
574115abbab2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1596) Read environment.conf for new directory environments

Prior to this commit, the new directory environments would always have a
set manifest and modules directory relative to their environment
directory. This is too restrictive compared with the arbitrary
modulepath and manifest settings available to legacy puppet.conf
environments, so we are adding a per directory environment.conf which
allows arbitrary settings for manifest, modulepath and config_version
per directory environment.

The path to the environment.conf is unique per directory environment and
is not configurable. For a given $environment found through the
$environmentpath, it is always
"<path-in-environmentpath>/$environment/environment.conf"

Sections other than 'main' are ignored in this file, as are any settings
other than manifest, modulepath and config_version. Adding a section or
other setting will log a warning but otherwise parse. A relative path
is always taken to be relative to the environment directory itself.

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1221f59e2ed4: (PUP-1596) Add config_version as an explicit env property
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU574115abbab2: (PUP-1596) Read environment.conf for new directory environments (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Mar 19 2014, 1:21 AM