puppet looking for hiera.yaml in the wrong place
puppet, vagrant
Solution
Hmmm... On Vagrant 1.2.2 and Puppet 3.2.3, I am able to set hiera_config in puppet.conf without problems. I would double-check that you are editing /etc/puppet.conf on the Vagrant vm, not on the host machine, and that the hiera_config line is the [main] block, not just in the [master] block.
If both of those conditions are true and it is still not working, you might try explicitly setting hiera_config in your Vagrantfile:
config.vm.provision :puppet do |puppet|
...
puppet.options = '--hiera_config=/etc/hiera.yaml'
end
Good luck!
Problem
I want puppet to look for hiera.yaml in /etc but it's looking for it in /etc/puppet. I put a line into puppet.conf: ``` hiera_config = /etc/hiera.yaml ``` But still gives me the hiera.yaml update warning when I run the script. I'm running the script from Vagrant 1.2.2. Using puppet 3.2.2 I'm running Centos 6.4 in a vm.