wazuh-puppet
wazuh-puppet copied to clipboard
Change fail to warn on wazuh::agent
Wazuh agent may be enforced across a wide range of servers in an Org.
It would be nice if the wazuh::agent were to warn, rather than fail if OS constraints were not met. https://github.com/wazuh/wazuh-puppet/blob/51fe0e9f99b2c56bc49d936ebfdb884f5bbcbe6a/manifests/params_agent.pp#L527
For example, CentOS 6 has recently reached EOL and some users may have had to convert CentOS 6 to CloudLinux 6. Any system is now running CloudLinux 6 would fail to run puppet at all.
Hello @nick-fox,
It would be nice if the wazuh::agent were to warn, rather than fail if OS constraints were not met. For example, CentOS 6 has recently reached EOL and some users may have had to convert CentOS 6 to CloudLinux 6.
I see your point here. I also think it is a good idea to replace fails with warnings so we don't exclude systems that could be compatible even if they are not considered in the distributions officially supported by wazuh-puppet
.
Note: Puppet built-in warning function.
As soon as our workflow allows us we will be hands-on with this fix. Thank you for your contribution Nick, we appreciated it!
-JP
Hello, has there been any update on this? I am getting this error when trying to deploy on RHEL 9. We are using the module version 4.3.10.