File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 3
3
class wazuh::dashboard (
4
4
$dashboard_package = ' wazuh-dashboard' ,
5
5
$dashboard_service = ' wazuh-dashboard' ,
6
- $dashboard_version = ' 4.3.10' ,
6
+ $dashboard_version = ' 4.3.10-1 ' ,
7
7
$indexer_server_ip = ' localhost' ,
8
8
$indexer_server_port = ' 9200' ,
9
9
$dashboard_path_certs = ' /etc/wazuh-dashboard/certs' ,
53
53
}
54
54
}
55
55
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
-
66
56
# install package
67
57
package { 'wazuh-dashboard' :
68
- ensure => $dashboard_version_install ,
58
+ ensure => $dashboard_version ,
69
59
name => $dashboard_package ,
70
60
}
71
61
You can’t perform that action at this time.
0 commit comments