You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module creates /etc/puppetlabs/puppet/hiera.yaml correctly, but puppet lookup doesn't find the keys. I need to copy/link that file into /etc/puppetlabs/code/environments/*/hiera.yaml for puppet to be able to find the keys and work properly.
What behaviour did you expect instead
The module should create the hiera.yaml file in the environments directories
Output log
This is the message when environment/hiera.yaml does not exist:
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'nagios::slack_channel::devel' on node nagios-test.build.nonlive.bcc
Any additional information you'd like to impart
N/A
The text was updated successfully, but these errors were encountered:
The puppet module manages the global hiera.yaml which is in /etc/puppetlabs/puppet/ . Puppet should still read this except if you have set hiera_config to something else in the puppet.conf
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
The module creates
/etc/puppetlabs/puppet/hiera.yaml
correctly, butpuppet lookup
doesn't find the keys. I need to copy/link that file into/etc/puppetlabs/code/environments/*/hiera.yaml
for puppet to be able to find the keys and work properly.What behaviour did you expect instead
The module should create the
hiera.yaml
file in the environments directoriesOutput log
This is the message when
environment/hiera.yaml
does not exist:Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'nagios::slack_channel::devel' on node nagios-test.build.nonlive.bcc
Any additional information you'd like to impart
N/A
The text was updated successfully, but these errors were encountered: