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.

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.