Puppet FAQs for DevOps Interviews: Basics to OpenVox (2027)
Puppet interview FAQs: resources, catalogs, port 8140, runinterval, Hiera, noop runs, plus the 2025 Puppet Core packaging change and the OpenVox fork.
Puppet interview FAQs check whether you understand declarative configuration: resources, manifests, classes and modules, how an agent gets a catalog from the primary server on port 8140, how Facter and Hiera feed data in, and what changed in 2025 when Perforce moved new Puppet builds to Puppet Core and the community started OpenVox.
This page answers the questions candidates get asked most often in short, direct form. It sits alongside our top Puppet automation interview questions, which go deeper on automation design. Here the focus is the fundamentals and the recent distribution changes, which interviewers have started asking about because they affect which packages a team installs. Settings and defaults below were checked against the Puppet Core 9.1.3 configuration reference and the official Perforce and Vox Pupuli pages in November 2026.
Key takeaways
- Puppet is declarative: you describe the end state of a resource and the agent works out how to reach it, run after run.
- Agents connect to the primary server on port 8140 by default and, as a service, check in every 30 minutes (
runintervaldefaults to30m). - From early 2025, Perforce publishes new Puppet binaries to a private, controlled location under the Puppet Core name. The source code stays under Apache 2.0.
- OpenVox is a community soft fork maintained by Vox Pupuli. Its install page says that as of release 8.11 it is functionally equivalent to Puppet and keeps the same command names.
- Expect questions on idempotency,
--noopdry runs, Hiera data separation and how you test code before it reaches production.
Puppet basics
1. What is Puppet?
Puppet is a configuration management tool. You write code in the Puppet language that describes how systems should look: which packages are installed, which files exist with what content, which services run. An agent on each node applies that description and corrects any drift it finds. Our 70+ Puppet interview questions cover the wider tool set.
2. What does "declarative" mean in Puppet?
You state the desired result, such as "package nginx is installed and service nginx is running", rather than the commands to get there. Puppet's providers translate that into the right package manager or service manager calls for each operating system.
3. What is a resource?
A resource is the smallest unit Puppet manages, such as a file, package, service, user or exec. Each has a type, a title and attributes:
package { 'nginx':
ensure => installed,
}
service { 'nginx':
ensure => running,
enable => true,
require => Package['nginx'],
}
4. What are manifests, classes and modules?
A manifest is a file of Puppet code ending in .pp. A class groups related resources under one name so you can include it on many nodes. A module is a directory with a standard layout (manifests, files, templates, data) that packages one piece of configuration for reuse. Modules can be shared through the Puppet Forge, which Perforce says remains freely available.
5. What is idempotency and why does it matter?
Running the same code twice should leave the system in the same state and make no changes the second time. Puppet resources are built to behave this way. The usual way to break it is an exec without guards such as creates, onlyif or unless, so interviewers often ask how you would make an exec safe.
6. How do you order resources?
Use the metaparameters before, require, notify and subscribe, or chaining arrows (-> and ~>). notify and subscribe also trigger a refresh, which is how a changed config file restarts its service.
Architecture and agent runs
7. How does an agent run work?
The agent collects facts about its node with Facter and sends them to the primary server. The server compiles a catalog, which is the list of resources and their desired state for that node, and returns it. The agent applies the catalog, changes only what differs, and sends a report back.
8. Which port does Puppet use?
The primary server listens for agent HTTPS traffic on 8140 by default. The serverport setting controls it, and if you change it you must change it on every agent too.
9. How often does the agent run?
When running as a service, every 30 minutes by default, set by runinterval. For an immediate run while testing, use:
puppet agent -t
10. What is a noop run?
A dry run. puppet agent -t --noop shows what would change without changing it. The noop setting defaults to false. Interviewers like candidates who use noop runs before risky changes reach production.
11. What is Facter?
Facter gathers facts about a node: operating system, IP addresses, memory, custom values you add. Facts are available in manifests as variables, for example $facts['os']['family'], so one class can handle RedHat and Debian systems differently.
12. How do certificates work between agent and server?
Each agent creates a key and asks the server's certificate authority to sign a certificate. Once signed, agent and server use those certificates for mutual TLS on every run. A common troubleshooting question is a node that cannot connect after being rebuilt, which usually means its old certificate needs to be cleaned on the server and a new one signed.
Data and code quality
13. What is Hiera?
Hiera is Puppet's key-value lookup system. It keeps site-specific data, such as package versions or settings per environment, out of your modules. A hierarchy decides which value wins, for instance a per-node file over a per-environment file over common defaults. This keeps modules reusable and puts the differences in data.
14. How do you handle secrets in Puppet?
Do not store them in plain text in Git. Teams commonly encrypt values in Hiera with a backend such as eyaml, or look them up at run time from a secret manager. Mark parameters that hold secrets with the Sensitive data type so their values are redacted in logs and reports. Mention the limit too: Puppet's documentation says the value is still plain text in the catalog and is not encrypted, which is why it is used together with encrypted data or a secret manager.
15. How do you validate code before pushing it?
Run a syntax check, a linter and unit tests in your pipeline:
puppet parser validate manifests/init.pp
Then apply the change to a test node, or use a noop run against a production-like node, before merging. Teams usually keep each environment's code in a Git branch and deploy it with a code manager tool.
16. What are environments?
Environments are isolated sets of code and data on the primary server, such as production and development. A node is assigned to one, which lets you test changes on a small group before promoting them.
17. What are templates?
Templates generate file content from variables. Puppet supports EPP (Embedded Puppet) and ERB (Ruby) templates. EPP is the native choice for new code because it uses the Puppet language and takes explicit parameters.
The 2025 distribution changes
18. What changed with Puppet packaging in 2025?
Perforce, which owns Puppet, announced that from early 2025 newly built Puppet binaries and packages would go to a "private, hardened, and controlled location" instead of public repositories. Community users can access them for development under an end-user licence agreement, and use beyond 25 nodes needs a commercial licence. Perforce also said there would be no licence change to the open source code, which remains Apache 2.0. These builds are published as Puppet Core, whose documentation was at version 9.1.3 when this page was checked.
19. What is OpenVox?
OpenVox is a community-maintained soft fork of Puppet run by Vox Pupuli. It began as a mirror by Overlook InfraTech to keep community packages available after Perforce stopped public packaging. Vox Pupuli says it aims to stay compatible with Puppet, that as of release 8.11 it is functionally equivalent, and that command names are the same, so puppet agent -t still works.
20. Which packages does OpenVox provide?
Its install page lists openvox-agent, openvox-server, openvoxdb, openvoxdb-termini and openbolt, installed from openvox9-release repository packages, with openvox8-release for the older line.
21. How would you answer "which one should we run"?
Give the trade-off instead of a slogan. Puppet Core gives vendor-built binaries and a commercial support path, with licence terms that matter once you pass 25 nodes. OpenVox gives community builds under open source terms with the same language and commands. Either way, test on a small set of nodes, check module compatibility and plan agent and server upgrades together.
| Question | Puppet Core | OpenVox |
|---|---|---|
| Who builds the packages | Perforce | Vox Pupuli community |
| Where packages are published | Private, controlled repository | Public OpenVox repositories |
| Source licence | Apache 2.0 | Apache 2.0 (fork of the same code) |
| Commands | puppet | Same command names |
| Usage terms to check | EULA; commercial licence beyond 25 nodes | Open source licence |
If you are asked about the change in an interview, keep the answer factual. Say what Perforce announced, what OpenVox is, and how your last team decided, or how you would decide: check which packages your servers currently pull, read the licence terms that apply at your node count, test the alternative on a few non-critical nodes, and plan the agent and server upgrades as one change. Interviewers want to see that you separate facts from community arguments and that you would test before switching a whole estate.
Scenario questions
22. A run fails with a compilation error after a merge. What do you do?
Read the error on the agent or server log, which names the file and line. Reproduce it with puppet parser validate on that file, fix it on a branch, and add the validation step to the pipeline so the same mistake cannot be merged again. If production is broken, revert the commit first and fix later.
23. A config file keeps being overwritten by someone editing it by hand. How do you handle it?
Puppet is doing its job: it restores the declared state each run. Move the desired change into the module or Hiera data, review it, and let Puppet roll it out. If a file really should be edited locally, stop managing its content and manage only its presence or permissions.
24. How do you roll a change out to 500 nodes safely?
Test it in a separate environment, apply it with noop to a sample of production nodes, then promote it to a small group, then to everyone. Watch the run reports for failures at each stage.
25. Where does Puppet fit next to Ansible and Terraform?
Terraform creates infrastructure, such as networks and virtual machines. Puppet and Ansible configure what runs on those machines. Puppet uses a long-running agent that corrects drift on a schedule, while Ansible usually pushes changes over SSH when you run a playbook. Our Ansible interview questions cover the push-based side.
Preparation tips
Build a small lab: one primary server and two agents in virtual machines. Write a module that installs and configures a web server, add Hiera data for two environments, break it on purpose and fix it with noop runs. Then try the same module on OpenVox packages so you can talk about the 2025 changes from experience. For more practice, read the advanced Puppet questions, the scenario-based Puppet questions and the DevOps interview hub. Configuration management is part of our DevOps course, taught in the Kharadi, Pune classroom and live online.
Frequently asked questions
Is Puppet still open source?
The source code remains under the Apache 2.0 licence. Since early 2025, Perforce publishes new binaries to a private location under the Puppet Core name, and the community OpenVox project publishes open builds.
What port does a Puppet agent connect to?
Port 8140 on the primary server by default, controlled by the serverport setting.
How often does the Puppet agent run?
Every 30 minutes by default when running as a service, set by runinterval. Use puppet agent -t for an immediate run.
What is the difference between Puppet Core and OpenVox?
Puppet Core is the Perforce-built distribution with EULA terms and a commercial licence beyond 25 nodes. OpenVox is a community soft fork by Vox Pupuli that keeps the same commands and aims to stay compatible.
What is the difference between require and notify?
Both set ordering. notify also sends a refresh event, so the target resource, usually a service, restarts when the source changes.
How do you test Puppet code safely?
Validate syntax with puppet parser validate, lint and unit test in CI, then use noop runs and a test environment before promoting the change.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0