Setting up a Puppetmaster with the puppet apply provisioner
In the first scenario, we'll take a deeper look at how to set up a Puppetmaster with the apply provisioner—using Puppet to manage the Puppetmaster itself. We can start this project in a couple of ways:
- Bootstrap an entire Puppet environment by installing and configuring the Puppet Labs package repositories and installing Puppet
- Using the Vagrant images provided by Puppet Labs and available on the Vagrant Cloud
In this example, we'll start with the Puppet Labs images. These images will have the Puppet agent preinstalled and ready to use. Bootstrapping instances to install Puppet typically involves installation and startup with a shell script that can make a development environment more complicated.
Note
A quick note on using Ubuntu images is that when using Debian-based boxes, it is typically a good idea (if not required) to execute an apt-get update
command prior to executing package installations. As this often needs...