O'Reilly logo

Puppet Essentials by Felix Frank

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

While Puppet manifests are a powerful tool to model relations of subsystems and dependencies among both single resources and whole groups, it is sensible to strip the concrete configuration data from them, at least in part. This helps consolidate your classes and allows you to avoid a cluttered code base.

Hiera is a tool that stores and retrieves data in a hierarchical fashion. Each retrieval uses a distinct data source from each hierarchy layer and traverses it from the most to the least specific. The first value that is found is returned. From Puppet, you will mainly perform lookups through the hiera function. The data sources are selected from a predefined hierarchy, which will rely on fact values in most cases. Data is commonly represented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required