Automation with Puppet: beginner to advanced
Submitted by Rahul Bajaj (@rabajaj) on Friday, 5 January 2018
Puppet is an open-source software configuration management tool. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration. Are you interested in controlling your network and systems with the flexibility of a scripting language? Puppet is just what you’re looking for, and this workshop will show you how to get set up and started.
Attendies will learn about the Puppet infrastructure, including Puppet agents and masters, then jump into the Puppet run cycle. From there, I will teach the attendies about the Puppet language, including how to apply a simple Puppet manifest, Puppet types, and applying conditional logic in Puppet. This workshop also covers how to organize a Puppet environment, report with Puppet, and MCollective. Finally, you will learn about additional tools, such as external node classifiers and reporting with the Puppet dashboard.
Introduction to configuration management [15 mins]
What is configuration management? Agent vs Agent-less Push and Pull configurations.
DevOps Concepts [10 mins]
Infrastructure as code. Deterministic Builds/Deployements. Idempotency.
Puppet Infrastructure [20 mins]
Puppet Master. Puppet Agents. Puppet Run Cycle.
Installation of Puppet Master and Puppet Agents [30 mins]
Configuring the Puppet Agent and the Puppet Master Puppet Certificates Puppet request cycle
Puppet Configuration [80 mins]
Understanding the DSL. Looking deep into the Factor Command. Getting a hang of Puppet resource. Writing Puppet Manifests. Writing Puppet Modules.
Puppet Reporting and Dashboard [15 mins]
Question and answers [10 mins]
Attendies with some knowledge of hardware and setups, no prior knowledge of Puppet is needed.
Rahul is an Associate Software Engineer, Red Hat. He is a part of the official foreman organization(https://github.com/rahulbajaj0509). He contributes mostly to the Foreman project and is a ‘Red Hat Certified Specialist in Configuration Management’. He is also the organizer of Foreman Pune Meetups.