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