Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
New Feature
-
If the path to an environment is a symlink, Puppet will now follow that symlink to the source directory if the `versioned_environment_dirs` setting is `true`.
-
Needs Assessment
Description
Given an environment_path and an environment name, Puppet needs to be able to figure out where a specific environment lives on disk. This might be a versioned directory, led to by a symlink from the named environment dir. The simplest thing is to have puppet do a readlink on the environment path it currently constructs.
Example:
/etc/puppetlabs/code/environments/production -> /opt/puppetlabs/server/data/file_sync/client/code_<SHA>/environments/production