Skip to content

Conversation

poloz-lab
Copy link
Contributor

Closes #587

This PR uses the following strategy :

  1. the archive is unpacked in a directory named with the version (wazuh-filebeat-0.2.tar.gz)(I chose /opt/filebeat_wazuh_modules/wazuh-filebeat-0.2.tar.gz) ;
  2. a link /usr/share/filebeat/module/wazuh points to the directory in step 1 ;
  3. when we define a new version for $wazuh_filebeat_module, the archive resource detect that the directory in the creates parameter isn't good ;
  4. the new module is unpacked, the link is changed, filebeat is restarted.

@poloz-lab poloz-lab force-pushed the feature-587-update-filebeat-module branch from 4b2649d to 03b09fd Compare December 21, 2022 14:00
@poloz-lab poloz-lab force-pushed the feature-587-update-filebeat-module branch from 03b09fd to d7c2fbc Compare February 10, 2023 08:16
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.

1 participant