Manages Puppet Labs training classroom environments

Puppet Training



5,066 latest version

1.1 quality score

Version information

  • 0.0.16 (latest)
  • 0.0.15
  • 0.0.14
  • 0.0.13
  • 0.0.12
  • 0.0.11
  • 0.0.10
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Sep 25th 2018
This version is compatible with:
  • Puppet Enterprise 3.7.x
  • Puppet 3.x
  • CentOS

Start using this module


pltraining/dockeragent — version 0.0.16 Sep 25th 2018


This module is used to configure simple Dockerized agent nodes for the classroom environment in Puppet Labs training courses. Unless you are an instructor, this is probably not the module you are looking for. It makes certain assumptions about the environment and is only flexible within the design specs of our training courses.

That being said, you're welcome to poke through it and see how we set things up.


include dockeragent

# This will manage 5 containerized agents.
range(1,5).each |$n| {
    dockeragent::node { "agent${n}.${::fqdn}":
        ports => ["${n}0080:80"],

Example workloads

One thing that containerized agents are sometimes used for is simulating the load of running an environment against a Puppet master. To facilitate that, we've included a handful of very simple sample testing profiles. They don't really do anything useful other than provide the master with a reasonable, if small, catalog to compile.

node default {
  include dockeragent::sample::wordpress
  include dockeragent::sample::vhosts

The modules used by these classes are not set as dependencies, so they will not be installed automatically by puppet module install. If you want to use them, you'll want to install them separately:

  • Requirements for dockeragent::sample::wordpress:
    • hunner/wordpress
    • puppetlabs/apache
    • puppetlabs/mysql
  • Requirements for dockeragent::sample::vhosts:
    • puppetlabs/apache
    • Future parser or Puppet 4.x

Other projects:

For another take on the idea of load testing the Puppet master, see