Skip to content

Commit e63bb87

Browse files
committed
Revert "split package version for OS family"
This reverts commits: -d56f7dfb01b0dd0954f30c1e8f322146dc5e7b37 -15e50806a5971fe4c2b870d0442127214547b91e
1 parent dcb9d90 commit e63bb87

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

manifests/dashboard.pp

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class wazuh::dashboard (
44
$dashboard_package = 'wazuh-dashboard',
55
$dashboard_service = 'wazuh-dashboard',
6-
$dashboard_version = '4.3.10',
6+
$dashboard_version = '4.3.10-1',
77
$indexer_server_ip = 'localhost',
88
$indexer_server_port = '9200',
99
$dashboard_path_certs = '/etc/wazuh-dashboard/certs',
@@ -53,19 +53,9 @@
5353
}
5454
}
5555

56-
# assign version according to the package manager
57-
case $facts['os']['family'] {
58-
'Debian': {
59-
$dashboard_version_install = "${dashboard_version}-*"
60-
}
61-
'Linux', 'RedHat', default: {
62-
$dashboard_version_install = $dashboard_version
63-
}
64-
}
65-
6656
# install package
6757
package { 'wazuh-dashboard':
68-
ensure => $dashboard_version_install,
58+
ensure => $dashboard_version,
6959
name => $dashboard_package,
7060
}
7161

0 commit comments

Comments
 (0)