Deploying Wazuh with Puppet for a managed fleet
If your team already runs Puppet and wants Wazuh manager and agent settings under the same change control, the Wazuh Puppet module lets you manage both as code. The Wazuh documentation lists Puppet among its supported deployment options, alongside Ansible, Docker, Kubernetes and the offline installation guide, so the module is a documented route rather than a workaround. The self-hosted Wazuh software is distributed under the GNU General Public License version 2, with an exception that permits linking with the OpenSSL library, and it carries no license fee. Your cost is the infrastructure, the people who run it and any support contract you choose, which is worth stating clearly in your business case.
Puppet makes the most sense when the fleet is large enough that manual enrollment and hand-edited ossec.conf files start to drift, or when auditors ask you to show who changed detection settings and when. Reviewing the module's manager and agent classes, the certificate handling between Puppet nodes, and the way agent groups map to node classification will show whether your existing Puppet roles can express the layout you need. Confirm with your own Puppet administrators how your environment already handles hiera data and environment promotion, because those patterns decide how safely you can roll out Wazuh changes.
Puppet is probably overkill if you have a handful of endpoints, no Puppet estate today, or a team that would have to learn Puppet only for Wazuh. In that case a single all-in-one installation or the Ansible route may be easier to operate and hand over. Before committing, ask your implementation partner or the Wazuh community to confirm the module version that matches your Wazuh release line, and plan a test environment that mirrors your production Puppet setup. Keeping the Puppet code in version control and tying changes to review is what turns the module into audit evidence, so decide that process before the first agent is enrolled.
How Puppet nodes, the Wazuh server and the indexer fit together
The diagram starts at the Puppet server, which holds the manager and agent classes and pushes them to the Wazuh server node. The server applies that configuration and then receives data from agents on endpoints, which send events back to it. The server passes alerts to the Wazuh indexer, which stores them for the Wazuh dashboard. The boundary between the Puppet control plane and the Wazuh data plane is the key point: Puppet changes configuration, while event traffic flows only toward the server. Check which side holds each credential and certificate.
Puppet configures the Wazuh nodes, while agent event data flows only to the Wazuh server, indexer and dashboard.
Which Puppet-managed layout fits each situation
This table compares three ways to combine Puppet with a Wazuh installation: a single manager node, a distributed layout with Puppet managing each component, and a hybrid where Puppet only enforces agent configuration. Read each row for what Puppet owns, what stays manual and the situation where the option fits, then confirm the module's current component coverage against the Wazuh documentation before choosing.
| Layout | What Puppet owns | What stays manual and when it fits |
|---|---|---|
| Single manager node | Packages, service state and configuration for the indexer, server and dashboard on one host, plus agent settings | Certificate generation and credential changes are reviewed by hand; fits an evaluation or small estate where one host is acceptable |
| Distributed, Puppet per component | Separate node classes for indexer, server and dashboard, with certificate distribution between Puppet nodes | Node role layout, network paths and cluster steps still need a planned design; fits teams that want every component in version control |
| Hybrid, agent enforcement only | Agent configuration, group settings and enforced file state across the endpoint fleet | Server and indexer installation uses another method such as the assistant or Ansible; fits teams with an existing manager build |
| Certificate handling | Distribution of certificates between Puppet-managed nodes where the module supports it | Key generation policy, rotation schedule and storage of private material remain with the security team; confirm the module's exact behavior |
| Upgrade ordering | Package version pins and service restarts when the manifest changes | Central components and agents must be sequenced by hand following the upgrade documentation, so Puppet should not push agents ahead of the manager |
| Drift detection | Reporting on configuration that differs from the declared state on each node | Investigation of drift and decisions about whether to correct or accept it stay with the operations team |
| Secrets and credentials | Placement of secret references in Hiera or a lookup backend, if the team adopts one | Default credential changes and secret rotation are performed and recorded outside the catalog until the team confirms a process |
| Who maintains the code | Module versions, profiles and roles stored in the team's control repository | Testing of module upgrades against the Wazuh release line, currently 4.14, stays with the team or its partner |
Choosing OpenVox or Puppet as the control plane
If your nodes already run open-source Puppet, the change to OpenVox is the lowest-friction path the vendor documentation describes. Vox Pupuli states that OpenVox 8.11 is functionally equivalent to Puppet, with the same command names and configuration paths, differing mainly in help text and man pages. That means your existing manifests, modules and Hiera data should keep working, but you still need to test them on a non-production node first.
- Package swap: OpenVox packages uninstall and replace legacy Puppet packages on the same host, so plan the replacement as a package operation, not an in-place upgrade.
- Configuration kept: existing configuration files are retained, which reduces rework but also means old settings carry over unchanged.
- Version pinning: OpenVox 9.1.0 was published on October 13, 2026, so decide whether your estate moves to the 8.x line first or to the newer release, and test that choice in staging.
- Module review: confirm that each Forge module you depend on supports your target version before rollout.
Before changing any node, confirm the exact package names and repository setup in the OpenVox install documentation for your distribution.
Puppet Enterprise nodes need more preparation than open-source nodes. The OpenVox install documentation tells Puppet Enterprise users to run the puppet-enterprise-uninstaller script on each node before installing OpenVox. Puppet and OpenVox cannot be installed on the same system, so this removal step is not optional, and the order of operations matters across the fleet.
- Uninstaller first: run the puppet-enterprise-uninstaller script on every node before installing any OpenVox package.
- Backup the whole tree: back up the entire
/etc/puppetlabsdirectory before the uninstaller runs, since the OpenVox documentation strongly advises this step. - Server and database roles: plan the replacement for the primary server and any PuppetDB role separately, because OpenVox provides
openvox-serverandopenvoxdbas distinct packages. - Staged cutover: move a pilot group of agents first, then the rest of the fleet, with a rollback plan that restores the backed-up tree.
- Support boundary: confirm with your current Puppet Enterprise support contract what changes once the nodes leave that product.
Before starting, verify the backup restores on a test host, because the uninstall step cannot be reversed in place.
A new build has no legacy packages to remove, so the decision is mostly about which open-source control plane your team will operate for years. OpenVox is installed from the openvox8-release repository package on apt.voxpupuli.org or yum.voxpupuli.org, followed by openvox-agent, openvox-server, openvoxdb, openvoxdb-termini and openbolt. Agent downloads exist for Windows and macOS as well.
- Repository trust: pin the repository source and verify package signatures as part of your build standard.
- Governance review: OpenVox is dual-licensed under CC BY-SA 4.0 and Apache 2.0 and is maintained by Vox Pupuli, with a Puppet Standards Steering Committee guiding language direction. Confirm that this model fits your procurement and support requirements.
- Compatibility intent: the project states it aims to stay compatible with downstream Puppet for as long as it can, which you should weigh against your own long-term plans.
- Support sourcing: decide whether internal staff or a partner will handle upgrades, since community releases do not come with a vendor support contract.
- Environment separation: keep the control plane in a dedicated, version-controlled build pipeline from the first node.
Before committing, run a proof of concept on the same operating systems your fleet uses, including Windows and macOS agents if they are in scope.
Many organizations have a mix: some nodes on open-source Puppet, some on Puppet Enterprise, and some with no configuration management at all. In this situation, the first task is an inventory of what is installed where, because the uninstall and backup steps differ for each group. The OpenVox guidance that Puppet and OpenVox cannot coexist on one system applies to every host in the mix.
- Inventory by host: record the Puppet product, version and role of each node, including server, database and agent roles.
- Group by migration path: sort hosts into open-source, Puppet Enterprise and new build groups so each gets the right procedure.
- Single standard: choose one target control plane for the whole estate to avoid running two toolchains.
- Phased schedule: set the order of groups so the control server is migrated in a window that does not strand agents.
- Documented exceptions: list any host that cannot move yet and the reason, so audit reviewers can see the state.
Before scheduling, confirm the inventory with the people who own each node group, since undocumented hosts are the most common source of failed cutovers.
Setup sequence for the Wazuh Puppet module
This sequence takes a Puppet-managed estate from an unconfigured control plane to a Wazuh manager and agents that enroll and report under Puppet control. Each step ends with a check so the next step starts from a verified state.
Confirm the Wazuh release line and platforms
Confirm which Wazuh release line you will deploy and that every operating system in the pilot group is on the supported list for that line. The current release line is 4.14, and Wazuh 4.14.9 was released on 14 October 2026, so check the release notes for the patch level you intend to pin before writing any module code. Record the chosen version in your change record. Check: you have a written version pin and a list of pilot hosts whose operating systems appear on the platform matrix for that release. Agents run on Linux, Windows, macOS, Solaris, AIX and HP-UX, but confirm each host against the documentation rather than assuming support.
Prepare the Puppet control plane
Your platform team, or a partner doing the work under a written scope, prepares the Puppet server and its supporting services. For OpenVox, this means enabling the openvox8-release repository package from the Vox Pupuli apt or yum repository and installing openvox-server, openvoxdb, openvoxdb-termini and openbolt. If you run Puppet Enterprise, plan its replacement carefully, because the install documentation says Puppet and OpenVox cannot coexist on one system. Back up the whole /etc/puppetlabs tree before any package change. Check: the Puppet server reports healthy, the server certificate is signed, and a test node can reach it on the expected port.
Install OpenVox agents on Puppet nodes
On each pilot node, install the openvox-agent package from the same repository and run the agent once against the control plane. OpenVox is functionally equivalent to Puppet for command names and configuration paths, so existing manifests and runbooks should still apply. Where a node currently runs legacy Puppet packages, the OpenVox packages uninstall and replace them while keeping existing configuration files. For Puppet Enterprise nodes, run the puppet-enterprise-uninstaller script first, as the install documentation directs. Check: each pilot node appears in the control plane's pending or signed certificate list, and a manual agent run completes without catalog errors.
Add the Wazuh module and declare classes
Add the Wazuh Puppet module to your control repository, pin its version, and declare the manager and agent classes in a role or profile. Keep the manager parameters, such as the cluster and API settings, in version-controlled Hiera data separate from the agent class, so that the agent fleet can be changed without touching the manager. Set the Wazuh version to the pin from step one on both sides. Check: a dry run or noop agent run compiles the catalog for the manager node and the pilot agents without evaluation errors, and the diff shows only the resources you expect.
Issue and distribute certificates between nodes
Decide how the Wazuh manager and agents authenticate to each other, then generate or issue the certificates and keys the module expects and place them where the module reads them. Certificates and private keys should be stored in your secrets tooling and delivered by Puppet, not committed to the control repository in plain text. Restrict file ownership and permissions on the manager and agent hosts. Check: the manager and one pilot agent each show valid certificate files with the expected subject and expiry, and the agent connects to the manager port without a TLS or authentication error in its log.
Apply to a pilot group
Assign the agent class to a small pilot group, selected by a Puppet environment or a node classification rule, and apply the catalog. Choose hosts that cover the operating systems and roles you need to validate, not only the easiest ones. Keep the rest of the fleet on its current configuration until the pilot results are reviewed. Check: each pilot node's last successful run is recent, no resource in the report is in a failed state, and the agent service is running on each host.
Verify agents appear in the manager
Confirm from the manager side that each pilot agent has registered, is active and reports its group membership. Use the Wazuh manager's agent listing or API to match agent names and IDs against the Puppet node list, and confirm that the configuration Puppet enforced is the one the agent is running. Record any agent that is missing or disconnected and trace it back to its Puppet run report. Check: every pilot node appears as an active agent in the manager with the expected group, and a deliberate configuration change in the control repository reaches the pilot agents on the next run.
How certificates and agent enrollment work between Puppet nodes
Wazuh server and agent communication depends on certificates and keys, and agent enrollment depends on credentials the agent presents before it is accepted. The Puppet module does not make those trust decisions for you. Its job is to place the right files on the right nodes with consistent ownership and permissions, so the decisions that matter sit with your team and must be made before the first class is applied. Start by deciding who issues the certificates: the Wazuh installation tooling that generates certificates for the indexer, server and dashboard, or an internal certificate authority that your security team already operates. Whichever you choose, write it down, because the Puppet code has to reflect it.
Next, decide where private keys live and who can read them. Private keys for the indexer, server and dashboard should be readable only by the service accounts that need them, and they should never be stored in plain text in a shared module or a public repository. Confirm with the module documentation which parameters accept certificate and key content or file paths, which file paths the module manages, and how it sets owner and mode on them. Those parameter names and paths are items to confirm against the module documentation for your release, not details to copy from this page. Agent enrollment passwords and API credentials are a separate secret class. Keep them in Hiera with eyaml encryption or in an external secret store that Puppet can look up at runtime, and confirm how the module reads them.
Plan rotation before go-live. Certificates expire, enrollment credentials may be rotated after staff changes, and the agent configuration must change in step with them. Ask how the module behaves when a certificate file changes: whether it restarts the affected service, whether agents keep reporting during the restart, and whether old and new certificates can overlap during a window. Test that sequence on a non-production fleet first, and record the expiry dates of every certificate in your change calendar. Because rotation touches both the manager and every enrolled agent, it is also the step most likely to break enrollment for part of the fleet, so include a rollback plan that restores the previous files.
What enforcing agent configuration across a fleet changes
Once Puppet manages the Wazuh agent configuration file, every node is held to the same ossec.conf on every run. The cards below cover what that changes in grouping, drift, rollout, rollback and the remote configuration the Wazuh server also pushes.
Group-based configuration per role
Map Puppet node classes to Wazuh agent groups so that web servers, databases and workstations each receive the file sections they need. Puppet decides which ossec.conf template a node gets, while the Wazuh server decides which group files apply. Check that every node class maps to exactly one agent group, or a host may match two roles and receive conflicting settings. Write the mapping down before the first run so that reviewers can trace a host to its configuration.
Drift correction on each run
Each Puppet agent run compares the managed Wazuh files with the desired state and rewrites any change made by hand. This restores monitored paths, log sources and disabled modules that an administrator may have altered during an incident. The trade-off is that a temporary local change for troubleshooting will be reverted on the next run, so the team needs a documented way to pause enforcement on a single node.
Staged rollout through environments
Promote Wazuh configuration changes through development, test and production environments in the same way as application code. A change to the agent file that disables a log collector can silence alerts across the fleet within one run, so apply it to a small test group first and watch the manager for missing agent events before widening the scope. Confirm how your Puppet environments map to Wazuh agent groups.
Rolling back a bad ossec configuration
Keep prior versions of the managed configuration in version control so that a faulty change can be reverted and redeployed with a known commit. Test the revert on a non-production node, because a broken ossec.conf can stop the agent from starting. Ask the Wazuh team which agent logs show a rejected configuration so that on-call engineers can confirm a rollback worked without guessing.
Remote configuration pushed by the server
The Wazuh server can manage agent configuration remotely through agent groups, which overlaps with settings Puppet also manages. Decide which settings belong to Puppet and which belong to the server, and document that boundary. Without it, a centrally pushed change and the next Puppet run can alternate the same values. Review the server-side group files whenever a Puppet change is planned.
Wazuh componentsPreventing two tools fighting over one file
Give each managed file a single owner. If Puppet writes ossec.conf and the server also changes the same section, each tool will keep undoing the other and the agent will restart repeatedly. Split responsibilities by file or by setting, and where possible let Puppet own the local file while the server owns group-level policy. Check the result on a test node by running Puppet twice and confirming that no file changes on the second run.
Questions buyers ask about Wazuh Puppet deployments
Do we need Puppet to deploy Wazuh?
No. Puppet is one of several documented deployment options, alongside the all-in-one installation assistant, Docker, Kubernetes, Ansible, the OVA and the offline guide. Choose Puppet when your organization already manages servers with Puppet and wants Wazuh manager and agent configuration to follow the same change process. If your fleet is managed with Ansible, containers or a cloud image pipeline, a native method of that stack is usually the simpler fit. The Wazuh software itself is open source under GPL version 2 with no license fee, so the choice of method affects effort and operations, not licensing.
What drives the cost of a Wazuh Puppet deployment?
The main drivers are the number of nodes and operating systems you must cover, how mature your existing Puppet code is, how you design certificates between Puppet nodes and Wazuh components, how much testing your change process requires, and how often you plan to upgrade. A fleet with clean, tested Puppet modules and a documented change window costs less to bring online than one where the first Wazuh module is also the first Puppet work on those nodes. One-time costs include design, module work and the pilot. Recurring costs include patch upgrades, module maintenance and on-call time. Ask any provider for a quote that separates these items and names who performs each one.
How fast can we reach a working Wazuh Puppet pilot?
The pilot timeline depends on how much of the foundation already exists: a Puppet server or OpenVox server, a tested control repository, network paths from agents to the manager, and an agreed list of test endpoints. If those are in place, a pilot covers one manager, a small set of agents across your main operating systems, and a review of enrollment, group configuration and alert flow. If they are not, the foundation work comes first and dominates the schedule. No duration is set here, so ask any partner to give a timeline tied to a written scope, with the prerequisites listed as assumptions.
What must our team provide for a Puppet-based Wazuh rollout?
You need three things. First, Puppet expertise on your side: someone who owns the control repository, Hiera data, and the way your team promotes changes across environments. Second, change windows for the manager, the indexer and agent restarts, plus a rollback plan for each. Third, test endpoints that match production: the operating systems, versions and network zones you will actually monitor, not only lab machines. Your security team should also confirm credential handling, certificate authority ownership and who approves alert rule changes. Missing any of these usually shows up as delays in the pilot rather than in the build.
Can our own team deploy Wazuh with Puppet without outside help?
Often yes, if your team already runs Puppet in production and has engineers who can read the Wazuh documentation for the Puppet method and for the components it configures. The harder parts are usually the ones outside the module itself: certificate design across Puppet nodes and Wazuh components, testing agent configuration across many operating systems, and planning upgrades against the 4.14 patch cadence, which has shipped roughly one release every one to two months. An outside partner is most useful for a fixed-scope design review, the pilot, or a handover with documented runbooks. Decide based on who will run the platform after go-live.
How often will Wazuh patch releases affect our Puppet code?
Wazuh's 4.14 line shipped patch releases on 17 March, 23 April, 1 July, 29 July, 23 September and 14 October 2026, roughly one every one to two months. Each release can change package versions that your Puppet code pins or references, so the recurring work is to test the new version in a non-production environment, update the module parameters, and roll the change through your normal promotion path. Plan this as ongoing operations work with a named owner, not as a one-off project. Confirm the upgrade order for managers, indexer and agents in the Wazuh upgrade documentation before you set your cadence.
Why does an OpenVox migration add extra steps to a Wazuh Puppet deployment?
If your nodes run Puppet Enterprise or open-source Puppet, OpenVox is not a drop-in package swap on the same machine. OpenVox's install documentation states that Puppet and OpenVox cannot be installed on the same system, that its packages uninstall and replace legacy Puppet packages, and that Puppet Enterprise nodes must run the puppet-enterprise-uninstaller script first. It also advises backing up the whole /etc/puppetlabs tree before you start. The documentation says OpenVox 8.11 is functionally equivalent to Puppet, with the same command names and configuration paths, which reduces but does not remove the testing work. Add a node-by-node migration plan, a rollback path and a validation run of the Wazuh module before you touch production nodes.
How do we keep certificates secure in a Puppet-managed Wazuh fleet?
Start by deciding which system is the certificate authority for Wazuh components and agents, who can issue or revoke certificates, and where private keys are stored. Puppet can distribute certificate files, but distribution is not the same as trust design, so keep private keys out of general-purpose Hiera files and restrict access to the nodes that need them. Test enrollment and renewal in a pilot before rollout, and document how a compromised agent or manager certificate is replaced. Confirm the exact certificate and enrollment steps in the Wazuh documentation for your installation method, since those details change with each release line.
How DeployOpen works on this
DeployOpen plans and builds Wazuh Puppet work inside your own infrastructure, starting from a written scope that names the nodes, roles and fleet groups involved. Each stage ends with documented steps and a handover your team can review, so your engineers can run the Puppet code after the engagement.
How we scope
- Written scope lists manager and agent nodes, Puppet server and agent versions, and operating systems in the fleet.
- Scope states which Wazuh classes, certificate handling and agent configuration rules are in or out.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Scope records whether nodes can reach the internet or need an offline package and data source path.
How we build
- Manager and agent classes are written or reviewed against your Puppet code layout and environments.
- Certificate exchange between Puppet nodes and the Wazuh manager is set up and tested before rollout.
- Agent configuration is enforced on a pilot group first, then expanded through your planned fleet groups.
- Each change is verified on test nodes, with drift checks confirming the enforced state holds.
How we hand over
- Handover includes the Puppet modules, Hiera data, manifests and version-controlled change history.
- Documentation covers how each class, certificate and group setting is applied and where it is stored.
- Runbooks describe how to add an agent, change a group and roll back a failed Puppet run.
- Your team walks through the code and test results before the engagement is closed.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover Wazuh release updates, Puppet module changes and drift review on a fixed schedule.
- Ask whether a retainer covers the OpenVox or Puppet agent upgrades your nodes will need.
- Confirm response expectations and the change process for production manager and agent nodes in writing.

