Resolution: Won't Fix
Affects Version/s: PUP 3.7.1, PUP 3.7.2, PUP 3.7.3
Fix Version/s: None
Linux (Debian), puppetmaster with passenger
from 3.7.1 on appearently puppet does no longer allow a setting in puppet.conf, part [master] of hiera_config that looks like
- Use an environment specific hiera config file
hiera_config = $environmentpath/$environment/etc/hiera.yaml
Up to, including, 3.7.0 this worked perfectly.
The directory expands to /etc/puppetmaster/environments/$environment/etc/hiera.yaml here, and has environment specific hiera data.
Starting with 3.7.1 instead the following unhelpful message appears:
You cannot interpolate $environment within 'hiera_config' when using directory environments. Its value will remain /etc/puppetmaster/environments/$environment/etc/hiera.yaml.
This is a lie too: The value is NOT what it says. Testing shows that the value remains at "/etc/puppetmaster/hiera.yaml" which is obviously as wrong as it can be.
Please undo whatever change broke this, as seperate hiera data per environment is a must-have feature.