Re: [Puppet Users] puppet 3 and hiera debugging

2013-05-01 Thread Johan De Wit
Just delved into my history : Do not forget to set this VAR : export RUBYLIB=/var/lib/puppet/lib/ facter --yaml > /tmp/facter.yaml to generate a yaml file of the facts, which can be passed to hiera. hiera --debug --config /etc/puppet/hiera.yaml test -y /tmp/facter.yaml or just passing a sin

Re: [Puppet Users] puppet 3 and hiera debugging

2013-04-30 Thread Denmat
Hi, Run the master in no-daemonize and debug. You will see how it searches through your hierarchy that way. Also you can use the command line on the master to query hiera. See puppet docs for details. Cheers, Den On 01/05/2013, at 2:46, lth wrote: > I'm using puppet 3.1 and I want to figure

[Puppet Users] puppet 3 and hiera debugging

2013-04-30 Thread lth
I'm using puppet 3.1 and I want to figure out why hiera seems to be looking in the wrong place and getting the wrong value. I found a post from this group saying to run puppet -d on the master and look in the log. Having done that I still don't see anything hiera related except for where puppe