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 33class 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' ,
4242 }
4343 }
4444
45- # assign version according to the package manager
46- case $facts [' os' ][' family' ] {
47- ' Debian' : {
48- $dashboard_version_install = " ${dashboard_version} -*"
49- }
50- ' Linux' , ' RedHat' , default: {
51- $dashboard_version_install = $dashboard_version
52- }
53- }
54-
5545 # install package
5646 package { 'wazuh-dashboard' :
57- ensure => $dashboard_version_install ,
47+ ensure => $dashboard_version ,
5848 name => $dashboard_package ,
5949 }
6050
You can’t perform that action at this time.
0 commit comments