Chapter 3. Writing Better Manifests
"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." | ||
--Bill Gates |
In this chapter, we will cover:
- Using arrays of resources
- Using resource defaults
- Using defined types
- Using tags
- Using run stages
- Using roles and profiles
- Passing parameters to classes
- Passing parameters from Hiera
- Writing reusable, cross-platform manifests
- Getting information about the environment
- Importing dynamic information
- Passing arguments to shell commands