This repository hosts the code and examples for the Puppet in 4 hours online workshop.
Download this Github repository to your local system using git clone
.
git clone [email protected]:martezr/puppet-in-4-hours.git
Change the current working directory to the Github repository.
cd puppet-in-4-hours
The lab exercises use two Ubuntu 20.04 virtual machines that run locally using HashiCorp Vagrant. Run the vagrant up
command to provision the virtual machines on the local machine. If you don't have Vagrant installed then it can be installed using the following documentation - https://learn.hashicorp.com/tutorials/vagrant/getting-started-install.
vagrant up
Command line access to the server node can be acheived by running the vagrant ssh
command below. This will place you at the server node's console as the vagrant user.
vagrant ssh server
Command line access to the agent node can be acheived by running the vagrant ssh
command below. This will place you at the agent node's console as the vagrant user.
vagrant ssh agent
Lab #2: Installing Puppet Server
Lab #3: Configuring Puppet Server
Lab #4: Installing Puppet Agents
Lab #5: Puppet Code Development
Lab #6: Using Puppet Forge Modules
Lab #7: Using Puppet Hiera for Data Separation
The solutions section of this repository contains the full examples of the content covered during the workshop.