wazuh / wazuh-documentation

Wazuh - Project documentation
https://wazuh.com
195 stars 347 forks source link

Deployment with puppet: the parameter indexer_network_host no longer belongs to the Securityadmin class. #7178

Closed Nicogp closed 6 months ago

Nicogp commented 6 months ago

Description

During the test https://github.com/wazuh/wazuh/issues/22807, I have confirmed that the example manifest shown in the Wazuh Puppet module -> Multi Node section, contains information about the 'wazuh::securityadmin' class that was not updated, because due to this PR the parameter 'indexer_network_host ' is no longer available in that class: image

This causes the following failure when trying to deploy wazuh-indexer:

[root@puppet-indexer vagrant]# puppet agent -t
Info: Using environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Notice: Requesting catalog from puppet-master:8140 (192.168.0.200)
Notice: Catalog compiled by puppet-master.fibertel.com.ar
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Wazuh::Securityadmin]: has no parameter named 'indexer_network_host' (file: /etc/puppetlabs/code/environments/production/manifests/stack.pp, line: 51, column: 3) on node puppet-indexer.
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Nicogp commented 6 months ago

The parameter should be available, it is a wazuh-puppet issue.