Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure directory for elasticsearch path #446

Open
kfontorbe opened this issue Mar 2, 2022 · 1 comment
Open

Ensure directory for elasticsearch path #446

kfontorbe opened this issue Mar 2, 2022 · 1 comment
Assignees

Comments

@kfontorbe
Copy link

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 😊

@c-bordon c-bordon self-assigned this Mar 8, 2022
@c-bordon
Copy link
Member

c-bordon commented Mar 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants