Appendix B. A Puppet Development Environment
While we covered the use of Puppet as a provisioning environment in Chapter 4, Provisioning with Configuration Management Tools, the use of Vagrant to create a development environment for configuration management is something that is worth covering in a little more depth. While this appendix will cover the use of Vagrant to create Vagrant development environment, many of the same principles apply to other configuration management environments (particularly the configuration management tools that rely on a master/agent architecture).
There are many ways to set up a Puppet development environment. A few common approaches are as follows:
- The use of a single machine environment and the
puppet apply
provisioner to develop single Puppet modules. This is a common setup to create and test a single module. - The use of a multimachine environment to simulate a Puppetmaster or Puppet agent environment. This scenario allows for not only a full test...