- Mastering Puppet 5
- Ryan Russell Yates Jason Southgate
- 81字
- 2021-07-16 17:46:11
Profiles best practices summary
Here are the best practices you should note in the development of your own profiles, referring to the preceding LAMP stack as an example:
- Design for use of the include keyword
- Use subdirectories for sensible, readable profile class groups
- Hide complexity with parameters, defaults, and abstraction
- Decide how to set the parameters for component classes
- Decide to use either automatic class parameter lookup or the lookup function
Let's examine each of these best practices now in turn.