Skip to Main Content
Extending Puppet
book

Extending Puppet

by Alessandro Franceschi
June 2014
Intermediate to advanced content levelIntermediate to advanced
328 pages
7h 26m
English
Packt Publishing
Content preview from Extending Puppet

Chapter 2. Hiera

The history of Puppet is an interesting example of how best practices have evolved with time, following new usage patterns and contributions from the community.

Once people started to write manifests and express the desired state of their systems with Puppet's DSL, they found themselves placing custom variables and parameters that expressed various resources of their infrastructures (IP addresses, hostnames, paths, URLs, names, properties, lists of objects, and so on) inside the code used to create the needed resource types.

At times, variables were used to classify and categorize nodes (systems' roles, operational environments, and so on); at other times, facts (such as $::operatingsystem) were used to provide resources with the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Puppet

Mastering Puppet

Thomas Uphill
Learning Puppet

Learning Puppet

Chad Thompson
Pro Puppet

Pro Puppet

James Turnbull, Jeffrey McCune

Publisher Resources

ISBN: 9781783981441Supplemental Content