Dive into working with Puppet. Explore both core concepts and advanced topics, including how to automate tests using Travis CI and securely separate data from code using Hiera.
Overview
Syllabus
Introduction
- Welcome
- What you need to know
- Exercise files
- Resources
- Classes
- The node graph
- Generate a node graph
- Defined resource types
- Variables and conditionals
- Iteration
- Facts and functions
- More resources
- ✓ Challenge: Simplify a manifest
- ✓ Solution: Simplify a manifest
- Setting up a control repo
- Review of roles and profiles
- Configure r10k
- Install a webhook
- Configure a webhook in GitHub
- Code environments
- Hiera overview
- YAML
- Encrypt Hiera data with hiera-eyaml
- Set up eyaml in control repo
- Types of testing
- Setting up rspec-puppet
- Your first rspec-puppet test
- Automated testing with Travis CI
- Beaker testing
- Setting up Beaker
- Puppet module review
- The ELK stack
- The Puppet Forge
- Installing the ELK stack
- Create a Puppetfile
- Installing Filebeat
- Installing the ELK stack
- Finishing touches
- ELK role and profile
- Deploy the ELK stack
- Built-in report processors
- Set up PuppetDB
- Complex templates
- Monitor Puppet in ELK
- Exported resources
- Types and providers
- Custom facts
- Next steps
Taught by
Josh Samuelson