Summary

In this chapter, we reviewed the tools that can help us to write our Puppet code, and manage, test, and deploy it.

We have seen how to enhance our writing experience on Geppetto, Puppet Labs official Puppet IDE, and Vim, a sysadmin's evergreen tool. We also learned how to version and manage code with Git, and how to introduce, eventually, a peer review and approval system such as Gerrit.

We have then seen the different tools and methodologies available to test our code: simple syntax checks that should be automated in Git hooks, style checks with puppet-lint, unit testing on modules with puppet-rspec, real-life (and ephemeral) acceptance tests on running virtual machines managed with Vagrant, and tools such as Beaker.

We have finally faced ...

Get Extending Puppet 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.