Hiera data is great for separating code and data.
Within hiera one can put different types of variables:
- text
- arrays
- hashes
Working with text and arrays is easy for most Puppet users.
Hashes still seem to have some kind of magic.
This post tries to show you an idea on how to work with hashes in hiera.