O'Reilly logo

Extending Puppet by Alessandro Franceschi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required