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

Add support to configure path.repo option in ES. Required for backups/snapshots #433

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

pescobar
Copy link
Contributor

We need to configure option path.repo in our elasticsearch instance to do snapshots and backups. e.g.

elasticsearch_path_repo:
  - /data/backups

This PR should not change the current default behaviour of the role. Using the default value elasticsearch_path_repo: [] just won't add anything to the ES config

The paths defined in elasticsearch_path_repo should exist and be writable by the ES daemon but the role is not taking care of creating them. Is ok like that or should I extend the PR to create the folders with the right permissions? Please let me know what you prefer.

@manuasir manuasir self-requested a review June 18, 2020 16:20
Copy link
Contributor

@manuasir manuasir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for contributing, this will be shipped with the upcoming release.

@manuasir manuasir merged commit cac89f1 into wazuh:devel Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants