Verifying hiera lookup for puppet

hierapuppet

In the course of attempting to debug my puppet manifests numerous times after bundling it with hiera, sometimes I doubt whether the correct hiera lookup is even being performed.

I am mostly using CentOS with Puppet 3.

Is there any tool I can use to find out what hiera data file is currently being utilized for the node I am on, as opposed to trying to guess based on my server config?

Best Answer

On the server hosting your puppet master, run puppet master --debug --compile yournode.example.com | grep hiera

Related Topic