wazuh-puppet
wazuh-puppet copied to clipboard
Remove some Wazuh cluster variables
Epic | Docu issue |
---|---|
https://github.com/wazuh/wazuh/issues/7108 | https://github.com/wazuh/wazuh-documentation/issues/5216 |
Description
It is intended to make the Wazuh cluster enabled and running by default. This development will be done in:
- https://github.com/wazuh/wazuh/issues/7108
As a consequence, certain configuration options will disappear. An example of this is the cluster name and disabled options. How each option will be affected can be seen in https://github.com/wazuh/wazuh/issues/13351 and https://github.com/wazuh/wazuh/issues/13353. As a summary, the main changes are these:
- disabled: Removed.
- name: Removed
- node_name: The hostname will be used by default.
- node_type: Do not change.
- key: Removed.
- bind_addr: A list of addresses will be accepted.
-
nodes:
127.0.0.1
should be used by default. - hidden: Do not change.
It will be necessary to update or remove in the Puppet module those variables that are affected: https://github.com/wazuh/wazuh-puppet/blob/9ded37e5bd0829bb7877cd16907faf04b6704840/manifests/manager.pp#L236-L246
There are more places with references to these variables, so it will be necessary to search and change all of them and check that the module works correctly after that.