Upgrading to Puppet 8 and Migrating to OpenVox: Plan, Changes and Rollout

Puppet Training Course 24 min min read Updated: Nov 17, 2026 Advanced
Upgrading to Puppet 8 and Migrating to OpenVox: Plan, Changes and Rollout
Advanced Topic 3 of 3

The Situation Today

The Puppet ecosystem has changed in the last few years, so check these facts for your own decision.

TopicWhat to know
Open-source Puppet 7Reached end of life in April 2025. No more updates or security fixes from the vendor
Puppet Core 8 and 9Developed and supported by Perforce as a commercial distribution. Check the current licence and download terms on the vendor site
OpenVoxA 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 EnterpriseCommercial product with console, RBAC and orchestration
Modules and ForgeMost modules work with both. Check each module's metadata.json and support statement
Choose with your team: Pick based on support needs, licence, budget and your risk policy. Both paths use the same Puppet language, so what you learn in this course applies to both. Verify the latest versions and terms on the official project pages before you decide.

What Changed in Puppet 8

AreaChangeWhat to do
RubyPuppet 8 uses Ruby 3.2Check custom facts, functions and providers. Replace removed Ruby behaviour
OpenSSLOpenSSL 3 with stricter defaultsOld certificates using weak algorithms (SHA-1, MD5, short RSA keys) may be rejected. Reissue them
Facter 4Legacy facts like $osfamily are removed or hidden by defaultUse structured facts: $facts['os']['family']
Strict modeStricter checks, strict_variables is on by defaultReading an undefined variable now fails. Define variables or use dig
Deprecated featuresOld settings and functions removed (for example, master names and old Hiera 3)Use Hiera 5 and server terminology
Puppet ServerRuns on a newer Java (17 or newer)Update the JRE if you manage it yourself
Agent platformsSome very old OS versions are no longer supportedCheck 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
bash # Count agents by version from PuppetDB curl -s -G http://localhost:8080/pdb/query/v4/facts/clientversion | jq -r '.[].value' | sort | uniq -c # Find legacy fact usage in code grep -rnE '\$(::)?(osfamily|operatingsystem|operatingsystemrelease|ipaddress|fqdn|hostname|processorcount)\b' site-modules manifests | head -50 # Find old hiera.yaml (version 3) or hiera_* functions grep -rnE 'hiera_(array|hash|include)|^:backends:' . | head

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.yaml and lookup()
  • Replace removed functions (hiera_hash() becomes lookup() with 'hash')
  • Run pdk validate and 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
yaml # CI matrix: test with both versions while migrating strategy: matrix: puppet: ['7', '8'] steps: - run: PUPPET_GEM_VERSION="~> ${{ matrix.puppet }}.0" bundle update puppet - run: bundle exec rake spec

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 --noop and compare with production
  • Compile catalogs for all roles on both versions and compare: puppet catalog compile + puppet catalog diff (or octocatalog-diff)
bash # Compare catalogs between old and new server for one node puppet catalog diff old-catalog.json new-catalog.json # or with Ruby tool octocatalog-diff: octocatalog-diff -n web01.example.com --from production --to feature_puppet8

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.

OrderComponentNotes
1PostgreSQL and PuppetDBCheck the supported PostgreSQL version first (upgrade if needed)
2Primary Puppet ServerUpgrade the packages, restart, run tests. Keep a backup or snapshot
3CompilersOne by one behind the load balancer
4Agents: canary groupDev and test nodes first
5Agents: waves10%, 25%, 50%, then all. Watch reports
6CleanupRemove old repositories, old settings, old modules
bash # Server upgrade (example commands, adapt to your repo and package names) sudo systemctl stop puppetserver puppetdb sudo tar czf /backup/puppet-$(date +%F).tgz /etc/puppetlabs /opt/puppetlabs/server/data/puppetserver sudo dnf install -y ./puppet8-release.rpm # new repository (or openvox release package) sudo dnf upgrade -y puppetserver puppetdb puppetdb-termini sudo systemctl start puppetdb puppetserver sudo puppetserver --version; curl -sk https://localhost:8140/status/v1/simple # Agent upgrade through Puppet itself with the puppet_agent module, or with Bolt bolt task run puppet_agent::install --targets canary_nodes collection=puppet8 puppet resource service puppet ensure=running
puppet # Using the puppetlabs-puppet_agent module (check its docs for your target) class { 'puppet_agent': package_version => '8.10.0', collection => 'puppet8', }

Migrating to OpenVox

OpenVox aims to be a drop-in replacement of open source Puppet. The practical steps are similar to an upgrade:

  1. Read the OpenVox documentation for the migration guide and the supported OS list
  2. Pick the version, and note package names (openvox-agent, openvox-server, openvoxdb)
  3. Test in a lab with your control repo. Facts are provided by openfact, and the puppet command remains
  4. Move agents with a package change or the OpenVox agent installation method, in waves
  5. Keep the same ssl directories, so certificates remain valid. Verify on a canary first
  6. Update your module metadata and CI images to the new tools
Verify details on the project site: Package names, repositories and migration steps change between releases. Use the project's current documentation instead of copying commands from an older blog or course.

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

  1. Query your lab (or PuppetDB) for agent versions
  2. Search a manifest for legacy facts and replace them with the $facts hash
  3. Set up a CI matrix that tests code on two Puppet versions
  4. Compare two catalogs from different versions with puppet catalog diff
  5. 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.

Quick Summary: Puppet 7 EOL; Ruby 3.2 + OpenSSL 3; no legacy facts; server before agents; canary waves; catalog diff; OpenVox is a community fork.

Get Newsletter

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