Part 2 – Structuring, Ordering, and Managing Data in the Puppet Language
This part will look at the more advanced Puppet language features. We will show how to manage dependencies and flow within code using iteration and conditions. We will then see how to use best practices to structure Puppet into modules using roles and profile patterns. Puppet Forge will be shown to be a useful source of pre-built modules and we will look at how to understand and review the source and content of those modules. We will then look at how to manage data with Puppet using Hiera and understand the best practices in terms of when to use separate data sources and variables.
This part has the following chapters:
- Chapter 6, Relationships, Ordering, and Scope
- Chapter 7, Templating, Iterating, and Conditionals
- Chapter 8, Developing and Managing Modules
- Chapter 9, Handling Data with Puppet