What Is Puppet? Architecture, Configuration Management Concepts, Editions and OpenVox

Puppet Training Course 18 min min read Updated: Nov 17, 2026 Beginner
What Is Puppet? Architecture, Configuration Management Concepts, Editions and OpenVox
Beginner Topic 1 of 3

The Problem Puppet Solves

Imagine you manage 5 servers. You log in to each one, install packages, edit files and start services. Now imagine 500 servers. Doing it by hand takes too long, servers slowly become different from each other (configuration drift), and nobody remembers exactly what was changed.

Puppet is a configuration management tool. You write down the state you want in simple text files: package nginx installed, file /etc/nginx/nginx.conf with this content, service nginx running. Puppet then makes every server match that description, and keeps it that way.

Core idea: You describe what the system should look like (declarative), not how to get there. Puppet works out the steps, and does nothing if the system is already correct.

Key Words

TermMeaning
ResourceOne thing to manage: a package, file, service, user...
ManifestA file ending in .pp that contains Puppet code
ClassA named group of resources, for example nginx
ModuleA folder that packages classes, files, templates and tests for reuse
NodeA machine managed by Puppet
AgentPuppet software on each node that asks for and applies its configuration
Server (primary server)Compiles configuration for nodes. Formerly called the master
CatalogThe compiled list of resources and their order for one node
FactsInformation about a node (OS, IP, memory) collected by Facter
HieraKey-value data lookup that keeps data separate from code
EnvironmentA separate copy of code and data (production, test)
IdempotentRunning it many times gives the same result

How Puppet Works: Agent and Server

text Node (agent) Puppet Server ------------ ------------- 1. Facter collects facts --- facts -------> 2. Matches the node to classes 3. Compiles a CATALOG (resources + order) 4. Agent receives catalog <--- catalog ----- 5. Agent compares each resource with reality and fixes differences 6. Agent sends a REPORT ---- report ------> (stored, shown in PuppetDB or console) Repeats every 30 minutes by default
  1. The agent starts a run and sends its facts to the server over HTTPS with certificates
  2. The server finds which classes apply to this node, using node definitions, an ENC or Hiera
  3. The server compiles a catalog: a graph of resources with dependencies
  4. The agent applies the catalog: it checks each resource and changes only what is different
  5. The agent sends a report of what changed, what failed and how long it took

You can also run Puppet without a server using puppet apply. It is perfect for learning, testing and for small setups.

Idempotency and Drift Correction

Suppose your code says package { 'nginx': ensure => installed }. The first run installs nginx and reports a change. The second run sees nginx already installed and reports no change. If someone removes nginx by hand, the next run installs it again. This is continuous enforcement.

A First Look at Puppet Code

puppet package { 'nginx': ensure => installed, } file { '/var/www/html/index.html': ensure => file, content => "Hello from Puppet\n", require => Package['nginx'], } service { 'nginx': ensure => running, enable => true, }

The code reads almost like English: it declares three resources with their desired state. The order in the file does not decide the order of execution; relationships do (you will learn this later).

Editions and the Current Landscape

Important to know: Puppet's ownership and packaging changed in recent years. Check each project's website for the latest details before you install.
OptionWhat it is
Puppet Core (Perforce)The commercial, supported Puppet agent and server packages distributed by Perforce. Perforce states that it develops and supports Puppet Core versions 8 and 9 as a proprietary product, and open source Puppet 7 reached end of life in April 2025
Puppet Enterprise (PE)Core plus a web console, role-based access control, orchestration, reporting, Code Manager and support
OpenVoxA community-driven open-source fork of Puppet maintained by Vox Pupuli. It provides openvox-agent, openvox-server and openvoxdb packages and aims to stay compatible with Puppet 8 code, with openfact replacing Facter
Vox PupuliA large community that maintains hundreds of open-source Puppet modules (the puppet/ namespace on the Forge)

The language, resources, modules and concepts in this course are the same for all of them. Where commands differ (package names, paths) the lessons point it out. In OpenVox the commands still use the familiar names such as puppet, facter and /etc/puppetlabs/.

Puppet vs Other Tools

PuppetAnsibleChefTerraform
Main jobConfigure and continuously enforce serversConfigure and orchestrate, usually on demandConfigure serversProvision infrastructure
LanguageDeclarative Puppet DSLYAML playbooksRuby DSLHCL
ModelAgent pulls every 30 min (or push with Bolt)Agentless push over SSHAgent pullRun on demand, state file
StrengthLarge fleets, compliance, drift correction, reportingSimplicity, ad-hoc tasksFlexible Ruby codeCloud resources
Together: Many companies use Terraform to create servers and Puppet to configure and keep them compliant. Puppet Bolt adds Ansible-style agentless tasks.

Where Puppet Is Used

  • Standard server builds (users, SSH, NTP, monitoring agents)
  • Security hardening and compliance (CIS benchmarks) with reports
  • Application stacks: web servers, databases, Java apps
  • Large Linux and Windows fleets with thousands of nodes
  • Network devices, cloud and container hosts

Learning Path in This Course

  1. Install Puppet and run your first manifest with puppet apply
  2. Learn the language: resources, variables, conditions, classes
  3. Core resource types and Forge modules
  4. Write modules, use Hiera, roles and profiles
  5. Set up a Puppet server, environments and code deployment
  6. Test, secure, scale and troubleshoot
  7. Build projects and prepare for the Puppet Professional certification

Conclusion

Puppet describes the desired state of servers in code, compiles it into a catalog for each node and enforces it repeatedly. It is idempotent, scales to large fleets, and the OpenVox fork keeps an open-source option available.

Quick Summary: declarative desired state; agent and server catalog; idempotent; facts, Hiera, modules; Core/PE/OpenVox.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators