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

Improve package revision set up for Wazuh manager and Wazuh indexer packages #1105

Closed
c-bordon opened this issue Sep 6, 2024 · 0 comments · Fixed by #1106
Closed

Improve package revision set up for Wazuh manager and Wazuh indexer packages #1105

c-bordon opened this issue Sep 6, 2024 · 0 comments · Fixed by #1106
Assignees
Labels
level/task Task issue type/enhancement Enhacement or new feature

Comments

@c-bordon
Copy link
Member

c-bordon commented Sep 6, 2024

Description

It has been detected that the installation methods for Wazuh manager and Wazuh indexer have hardcoded the package revision to -1. The same change that Wazuh Dashboard has should be applied so that it always takes the latest available revision:

# assign version according to the package manager
case $facts['os']['family'] {
'Debian': {
$dashboard_version_install = "${dashboard_version}-*"
}
'Linux', 'RedHat', default: {
$dashboard_version_install = $dashboard_version
}
}
# install package
package { 'wazuh-dashboard':
ensure => $dashboard_version_install,
name => $dashboard_package,
}

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/enhancement Enhacement or new feature
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants