Workshop: Puppet 101
Format: Full-day hands-on workshop using your own laptop.
Price: 149 EUR (coffee and lunch included).
Registration: Seats are limited. Registration closes on April 22, 2016. Register now »
In this workshop you will learn about Puppet configuration management tool and how it can be used to manage your nodes.
- What is Puppet
- Puppet DSL overview:
– Classes and Modules
– Basic Language Constructs
– Concept of Puppet Resources
– Reusable code patterns:
– Defined Types
– Separating data from code (by using Hiera)
- Examples of managing various system resources
– Packages, configuration files, and services
– Managing dependencies between resources
- Node classification mechanisms
- A brief introduction to the roles and profiles pattern
- A quick overview of Puppet run anatomy
Second part of the workshop (hands on):
- Changing upstream Puppet module (from Puppet Forge)
- Creating Puppet profile and role classes
- Classifying Puppet nodes
- Running Puppet in ‘puppet apply’ and ‘puppet agent’ modes
- Examining reports in PuppetDB/Puppetexplorer (while using puppet agent mode in a VM)
Prerequisites for participants:
We do expect that attendees have little to no experience with Puppet or any other CM tool (though it won’t hurt). If you have just started looking into Puppet, this workshop is just for you. Also, if you used older Puppet versions previously, you might be interested in what is available in Puppet 4, as all theoretical examples and practical exercises will be based on Puppet 4 (Open Source version of it).
In addition to that, all attendees will get prepared VirtualBox VM image with all tools already installed and configured so you won’t need to. During practical part of the workshop we will demonstrate roles and profiles pattern in practice by using already prepared environment where we will be able to freely experiment in.
Prerequisites for your computer:
- 64bit OS with capability to run VirtualBox (CPU VT-X extension should be enabled)
- At least 4 GiB of memory for VM
- VirtualBox (4.x or 5.x, latest is fine)
- Familiarity with UNIX like environments (VM is based on CentOS Linux distribution)
Note: While it is not neccessary to install VirtualBox and download OVA image, it will significantly reduce setup time and make it really simpler to follow the course material.
About Povilas Daukintis
Povilas started using Puppet in its early days, around version 0.23.x. Throughout the years, he used different configuration management tools like Chef, CFEngine, and several more obscure ones, but always went back to Puppet. Nowadays he is trying to apply all of the new features and improvements of Puppet version 4 in real life. In his opinion, Puppet 4 should be treated as a different CM tool from Puppet 3, not just an incremental improvement.
Having spent a lot of time bootstrapping and scaling various infrastructures, ranging from small startups with ten nodes to companies with thousands of servers, he’s got quite a unique perspective and experience. Povilas’ insights will prove useful to a wide range of people: from newcomers, who are just thinking which tool or paradigm to choose, to those who are already using older Puppet versions in their infrastructure and thinking what benefits migration to a newer version might provide.
After helping Adform bootstrap new Puppet 4 infrastructure, he’s spending his time making surethat it scales and can adapt to constantly changing needs.