Provisioning with Puppet agent

The second option when using Puppet as a provisioner is Puppet agent. Although this option has an added layer of complexity (the need for a Puppet master server), there is less configuration needed locally when it comes to Vagrant. We will not create a manifest file or any Puppet-related configuration on the host machine. It will all be handled by the Puppet master server.

The Puppet agent merely acts as a client which receives its commands from the server. In the following example, we are going to create a multi-machine setup that provisions Puppet master and Puppet agent machines:

  1. Let's first create a new directory and move into that. I'm going to call mine vagrant-puppet-agent and use the following comments ...

Get Hands-On DevOps with Vagrant 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.