hiera.yaml

One of the best features of Hiera in Puppet 5 is that it is included by default, and does not require an additional installation. As noted in the previous chapter, Puppet 5 gives us three levels of Hiera: global, environment, and data, in modules. The environment level of Hiera is contained in the control repository, giving us separate data in each environment and allowing us to store all of our Hiera data in a single repository. 

This model allows us to version control all of our data layer in Puppet 5 easily, and even merge our data across branches, if we want to iterate development of our Hiera data in the same way that we iterate over the development of Puppet code. We can use the same Hiera v5 configuration from the Chapter ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.