hiera : hierarchy variables assignment
In Hiera , where are the hierarchy variables assigned to ? In the node def ( in nodes.pp ) or in the node.yaml ?
First time here? Check out the FAQ!
Have a look at the Puppet documentation for creating hierarchies. The hierarchy variables are assigned from values discovered by facter running on the node in question.
I suggest having a look at this video from PC'12 (http://youtu.be/z9TK-gUNFHk?t=17m42s) that describes how Hiera works. It might clear up some of the usage ...(more)
The link above starts at a point where the hiera hierarchy creation is described. You may need to rewind a bit if he's using something that hasn't been explained already.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-06-25 17:21:33 -0600
Seen: 334 times
Last updated: Jun 26 '13
What is the proper Hiera JSON file format?
Masterless puppet with hiera dynamic lookup?
hiera-gpg not resolving variables, P3.8
Ignore line in template if variable is undefined or empty
Learning VM question - do I need port forwarding?
How to set and use environment variable in the same catalog run?