I'm not sure at all what's going on here, but I've spent a lot of time 
reading over the puppet hiera docs and setting everything up, but when I 
run puppet agent it just seems to ignore the hiera setup completely.

Both the puppet master and agent nodes have exactly the same versions of 
puppet and hiera (installed via the official puppet APT repository). I've 
laid out my hiera files like this: /etc/hiera/hiera.yaml, 
/etc/hiera/data/%{::environment}, have symlinked both 
/etc/puppet/hiera.yaml and /etc/hiera.yaml to /etc/hiera/hiera.yaml, and 
have tested the hiera setup using the command line utility. All seems good.

However, when I run puppet on the agent node it doesn't install any of the 
classes I've outlined in my hierarchy. I tried running the puppet master in 
debug mode to see if it was having problems locating the hiera config but 
it seems to locate it ok, eg. "Debug: /File[/etc/puppet/hiera.yaml]: 
Autorequiring File[/etc/puppet]". At least, it doesn't appear to display 
any errors related to hiera.

I'm really at a loss here. Any ideas?

Thanks,
Guy

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to