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
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
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