wazuh-puppet
wazuh-puppet copied to clipboard
Ensure directory for elasticsearch path
Hello,
I've found an issue when we changing the elasticsearch.path_data, it don't create the directory associated. I've fixed this with adding ensure directory here :
file { [$elasticsearch_path_config, $elasticsearch_path_eshome, $elasticsearch_path_data]:
+ ensure => directory,
recurse => true,
owner => $elasticsearch_user,
group => $elasticsearch_group,
require => Package[$elasticsearch_package],
}
Wazuh module version : 4.2.5 Puppertserver version : 6.16.1
Could you add it ?
Thanks :blush:
hello, kfontorbe thank you very much for your comment and your contribution, we are going to review what you indicate, you can open PR if you wish so we will review it together with our tests.