Instructor-Led Automation Training

Puppet – Develop and Maintain

2 days

Course topics include Hiera integration with roles and profiles, Puppet data types and core resource types, and Resource ordering relationships. Students will configure automated code deployment with Code Manager to speed up the development cycle. They will refactor Puppet code using Hiera, class parameters, and data types to make roles and profiles easier to reuse and maintain. Students will extend profiles to learn to reuse them without duplicating code. They will also Implement environment-based testing using node groups to test and deploy with confidence.

Prerequisites: It is recommended that students take the 2-day Puppet Deploy and Maintain course or Intro to Puppet course before taking this Develop course.

What you will learn:

  • install and configure Puppet 7 servers and agents
  • create and modify manifests that contain resource definitions
  • create and modify classes
  • create and modify modules
  • create and modify node definitions
  • create and modify environments
  • apply manifests, classes, nodes, and environments
  • extend Puppet with functions
  • use (and extend) Facter facts
  • generate basic reports
  • use tools Bolt and Hiera 5
  • design a “best practice” strategy for using Puppet capabilities

Course Outline

Puppet Resource Definitions and Declarations

overview of resource management

defining configuration resources

checking syntax of configuration resources

Puppet style guide

applying configuration resources (locally)

metaparameters

conditionals

arrays of resources

classes

parameterized classes

classes with inheritance (and parameters)

defined resources (definitions)

run stages

modules

virtual resource definitions

Puppet standard library functions

Creating Environments

environment definitions

PE console interactions

creating an environment group

defining agent allowed environment specification

pinning an agent to an environment group

setting up matching rules criteria

Extending Puppet with Reporting, Bolt and Hiera

reporting

transaction reporting

syslog (rsyslogd) reporting

Bolt

installing Bolt

initial ssh connection

defining a plan hierarchy

execution using a plan

Hiera

creating a Hiera hierarchy structure

using Hiera functions

ENC (external node classifiers)

creating an ENC procedure and files

how Puppet uses an ENC

Back to top