Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
PUP 5.5.22
-
None
-
Night's Watch
-
3
-
NW - 2021-01-20
-
Needs Assessment
-
42471
-
1
-
Bug Fix
-
-
Needs Assessment
Description
Tested on the below but likely occurs in every version since PUP-2519 was added
Puppet Version: 5.5.22**
Puppet Server Version: 2018.1.18
OS Name/Version: centos7
Add environmentpath setting to puppet.conf with multiple paths set.
E.g:
environmentpath = /home/puppet/projects:/etc/puppetlabs/code/environments
Puppet will create an empty folder production under /home/puppet/projects resulting in /etc/puppetlabs/code/environments/production getting ignored and no classes getting picked up for production
Desired Behavior:
Puppet should check all environment paths for a production folder before creating one.
Actual Behavior:
Puppet creates a production folder the first environment path and ignores the 2nd