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

Adapt modules to new parameter -id|--install-dependencies of Assistant #5497

Open
5 tasks
davidcr01 opened this issue Jun 13, 2024 · 0 comments
Open
5 tasks

Comments

@davidcr01
Copy link
Contributor

Target version Related issue Related PR/dev branch
v5.0.0 wazuh/wazuh-packages#2879 wazuh/wazuh-packages#3002

Description

In 5.0.0, a new option/parameter has been added to the Wazuh Installation assistant. This new option, -id|--install-dependencies, makes the Installation assistant to install the necessary dependencies automatically.

This behavior was the previous behavior, but we have decided to ask the user for permission for installing dependencies, that's why we have added this new parameter, as a confirmation. More information can be found in: wazuh/wazuh-packages#2879

From the @wazuh/devel-devops, we request to modify the modules that use the Installation assistant and performs any of this operations:

  • All-In-One installation.
  • Certificates generation.
  • Wazuh indexer installation.
  • Wazuh manager installation.
  • Wazuh dashboard installation.

Proposed changes

f"curl -sO https://{s3_url}/{release}/wazuh-install.sh && sudo bash ./wazuh-install.sh -a --ignore-check"

f"wget https://{s3_url}/{release}/wazuh-install.sh && sudo bash ./wazuh-install.sh -a --ignore-check"

'bash wazuh-install.sh --generate-config-files --ignore-check'

f"bash wazuh-install.sh --wazuh-server {node_name} --ignore-check"

f"bash wazuh-install.sh --wazuh-server {node_name} --ignore-check"

Ensure that there are no more needed changes

Proposed checks

  • Perform an AIO installation with the testing module.
  • Generate the certificates with the testing module.
  • Perform a Wazuh indexer installation with the testing module.
  • Perform a Wazuh manager installation with the testing module.
  • Perform a Wazuh dashboard installation with the testing module.

Configuration and considerations

Make sure that the installation is not stopped at any stage and that the dependencies are automatically installed.

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

No branches or pull requests

2 participants