Skip to content

Commit 021624d

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

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.8',
6+
$dashboard_version = '4.3.8-1',
77
$dashboard_user = 'admin',
88
$dashboard_password = 'admin',
99
$indexer_server_ip = 'localhost',
@@ -37,19 +37,9 @@
3737
}
3838
}
3939

40-
# assign version according to the package manager
41-
case $facts['os']['family'] {
42-
'Debian': {
43-
$dashboard_version_install = "${dashboard_version}-*"
44-
}
45-
'Linux', 'RedHat', default: {
46-
$dashboard_version_install = $dashboard_version
47-
}
48-
}
49-
5040
# install package
5141
package { 'wazuh-dashboard':
52-
ensure => $dashboard_version_install,
42+
ensure => $dashboard_version,
5343
name => $dashboard_package,
5444
}
5545

0 commit comments

Comments
 (0)