Never hardcode configuration values like IP addresses or package versions directly into your manifests. Use Hiera to keep your code "clean" and your data flexible.
Writing Puppet code is easy; maintaining it as your infrastructure grows from five nodes to five thousand is the real challenge. To avoid "spaghetti manifests" and technical debt, you need to move beyond simple scripting and embrace declarative design patterns. 1. The Roles and Profiles Pattern Puppet Best Practices: Design Patterns for Main...
A good module follows the : it should do one thing and do it well. Puppet Best Practices - The Swiss Bay Never hardcode configuration values like IP addresses or