In this week's Puppet Podcast, I'm joined by Ryan Coleman, product manager for the Puppet Forge, and module engineering team members Ashley Penney and Hunter Haugen. They dive into an exploration of the module testing frameworks the Puppet Forge team uses.
What happens when you submit a patch to a module maintained by Puppet Labs? Why bother testing your Puppet modules at all?
Learn the answers to these questions, as well as the value of unit testing a module with rspec-puppet and integration testing with rspec-system, the tools available to make sure your manifests pass a syntax test, and how to take advantage of real-world data from Facter during testing.
Listen to the Puppet Forge team pretend for your benefit that they are bad at their jobs, and don't believe a word of it!
- Find a local Puppet User Group or start one in your city
- Visit our community Ask site to get answers and advice for using Puppet.
- Learn how Forge modules can help you realize software-defined infrastructure across compute, storage and network resources.
- A number of Puppet Labs modules contain a spec directory with good examples of tests. Take a look at puppetlabs-apache, puppetlabs-postgresql and puppetlabs-firewall.