published on 10 January 2014

In this episode of the Puppet Labs Podcast, I was joined by Gareth Rushgrove, who works for the UK Government and is the person responsible for the DevOps Weekly Newsletter. He goes by garethr on the Puppet Forge. I was also joined by Ryan Coleman, product owner for the Forge at Puppet Labs.

We talked about quite a few module best practices, with a focus on reusability of modules.  One important thing to keep in mind when designing reusable modules is how you abstract the data associated with modules and how you design the entry points for others. Using other people's modules as dependencies is another way to improve reusability, but you also need to make sure that your dependencies are solid, reliable modules.

One of the most important aspects of module development is testing. Gareth and Ryan both talked about various ways to test your modules to improve reliability and check for unintended consequences when you make change to your module. Rspec-puppet is one good option for testing your modules if you are just getting started.

To learn more about module best practices and reliability, you will need to listen to the podcast! You can also check our many other recent podcasts by visiting our podcast page or subscribing in your favorite podcast tool.

Learn More

Share via:

Add new comment

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.