Published on 2 October 2013 by

Our docs and Puppet Forge teams have put together a beginner's guide to writing modules that just about anyone writing Puppet modules will find useful. It starts with great advice on how to plan and design your module, then moves on to advice on how to design its classes and parameters, how to order its classes, and how to leverage and utilize dependencies.

There are also sections on module testing with tools like rspec-puppet, rspec-system, and puppetlabs-spec-helper, module versioning and releasing modules. Finally, there's a good list of community resources you can use to get help, including recommended books and links to module documentation.

The new guide really puts it best:

Contributors to this guide have spent years creating Puppet modules, falling into every pitfall, trap, and mistake you could hope to make. This guide is intended to help you avoid our mistakes through an approachable introduction to module best practices.

So go check it out!

Learn More

Share via:
Posted in:
The content of this field is kept private and will not be shown publicly.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.