wazuh / wazuh-puppet

Wazuh - Puppet module
https://wazuh.com
GNU General Public License v2.0
41 stars 127 forks source link

Certificate deployment not ideal with 4.8.0 #1038

Open Hedius opened 2 weeks ago

Hedius commented 2 weeks ago

Hello,

with 4.8.0 it seems like the cert deployment was heavily modified:

https://github.com/wazuh/wazuh-puppet/blob/0a3aa36c1779cd0e9afcfbbd0bb9445876e25109/manifests/certificates.pp#L37-L45

Especially this block.

Few things or ideas?:

Hedius commented 2 weeks ago

https://documentation.wazuh.com/current/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.html

Still exported resources would be cleaner. The setup does not work like this if you have a multi puppet master/server environment.

please do not hijack other modules... and do not hardcode environments (puppet-archive in this case). :(