The Situation Today
The Puppet ecosystem has changed in the last few years, so check these facts for your own decision.
| Topic | What to know |
|---|---|
| Open-source Puppet 7 | Reached end of life in April 2025. No more updates or security fixes from the vendor |
| Puppet Core 8 and 9 | Developed and supported by Perforce as a commercial distribution. Check the current licence and download terms on the vendor site |
| OpenVox | A community fork of open source Puppet, created by Vox Pupuli, with packages such as openvox-agent and openvox-server. It keeps compatibility with Puppet code and the same directory layout and commands for most users |
| Puppet Enterprise | Commercial product with console, RBAC and orchestration |
| Modules and Forge | Most modules work with both. Check each module's metadata.json and support statement |
What Changed in Puppet 8
| Area | Change | What to do |
|---|---|---|
| Ruby | Puppet 8 uses Ruby 3.2 | Check custom facts, functions and providers. Replace removed Ruby behaviour |
| OpenSSL | OpenSSL 3 with stricter defaults | Old certificates using weak algorithms (SHA-1, MD5, short RSA keys) may be rejected. Reissue them |
| Facter 4 | Legacy facts like $osfamily are removed or hidden by default | Use structured facts: $facts['os']['family'] |
| Strict mode | Stricter checks, strict_variables is on by default | Reading an undefined variable now fails. Define variables or use dig |
| Deprecated features | Old settings and functions removed (for example, master names and old Hiera 3) | Use Hiera 5 and server terminology |
| Puppet Server | Runs on a newer Java (17 or newer) | Update the JRE if you manage it yourself |
| Agent platforms | Some very old OS versions are no longer supported | Check the support list for your platforms |
Step 1: Inventory and Planning
- List all nodes, OS versions and Puppet agent versions:
bolt command run 'puppet --version' --targets all, or query PuppetDB - List all modules (
Puppetfile) with versions and check each for Puppet 8 support - List custom Ruby code: facts, functions, types, providers
- Check for legacy facts:
grep -rE '\$(::)?(osfamily|operatingsystem|ipaddress|fqdn|hostname)\b' site-modules manifests - Decide the target: Puppet Core 8 or OpenVox, and the version
Step 2: Fix the Code First (While on Your Current Version)
- Replace legacy facts with
$facts['...'](this works on old and new versions) - Move to Hiera 5
hiera.yamlandlookup() - Replace removed functions (
hiera_hash()becomeslookup()with'hash') - Run
pdk validateand unit tests with the new Puppet version in CI (matrix: current and target) - Update modules to versions that support Puppet 8, one group at a time
- Fix undefined variables (strict mode) and Ruby code errors
Step 3: Build a Lab
- Create a copy of your Puppet server (or a new server) with the target version
- Copy the control repository and run a branch environment
- Connect a few test nodes: run
puppet agent -t --noopand compare with production - Compile catalogs for all roles on both versions and compare:
puppet catalog compile+puppet catalog diff(oroctocatalog-diff)
Step 4: Upgrade Order
The usual rule is top down: the server must be the same or newer than the agents. A Puppet 7 server cannot serve Puppet 8 agents reliably, but a newer server can serve older agents for a limited time.
| Order | Component | Notes |
|---|---|---|
| 1 | PostgreSQL and PuppetDB | Check the supported PostgreSQL version first (upgrade if needed) |
| 2 | Primary Puppet Server | Upgrade the packages, restart, run tests. Keep a backup or snapshot |
| 3 | Compilers | One by one behind the load balancer |
| 4 | Agents: canary group | Dev and test nodes first |
| 5 | Agents: waves | 10%, 25%, 50%, then all. Watch reports |
| 6 | Cleanup | Remove old repositories, old settings, old modules |
Migrating to OpenVox
OpenVox aims to be a drop-in replacement of open source Puppet. The practical steps are similar to an upgrade:
- Read the OpenVox documentation for the migration guide and the supported OS list
- Pick the version, and note package names (
openvox-agent,openvox-server,openvoxdb) - Test in a lab with your control repo. Facts are provided by openfact, and the
puppetcommand remains - Move agents with a package change or the OpenVox agent installation method, in waves
- Keep the same
ssldirectories, so certificates remain valid. Verify on a canary first - Update your module metadata and CI images to the new tools
Rollback Plan
- Snapshot the Puppet server VM before upgrade
- Keep the previous packages in your local repository
- Move only a small group of agents at a time, so a problem has a small blast radius
- To roll back agents, install the previous agent version with the package manager and restart. Certificates remain valid
- Keep the old server available until the new one is trusted
After the Upgrade
- Remove deprecated settings and features, and keep CI testing on the new version
- Add a version policy: update modules monthly, Puppet minor versions regularly, and watch end-of-life dates
- Subscribe to release notes and security announcements of the distribution you use
- Document the upgrade in your runbook
Practice Tasks
- Query your lab (or PuppetDB) for agent versions
- Search a manifest for legacy facts and replace them with the
$factshash - Set up a CI matrix that tests code on two Puppet versions
- Compare two catalogs from different versions with
puppet catalog diff - Write a one-page upgrade plan with waves and rollback
Conclusion
Upgrade in a planned order: fix code on the old version, test in a lab, upgrade PuppetDB and the server first, then agents in waves. Choose between Puppet Core and OpenVox using current official information, and keep a rollback plan.

