File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 420420 }
421421 }
422422
423- # Now we are going to install the correct packages.
424- case $facts [' os' ][' name' ] {
425- ' redhat' , ' centos' , ' oraclelinux' , ' VirtuozzoLinux' : {
426- # There is no zabbix-proxy package in 3.0
427- if versioncmp(' 3.0' ,$zabbix_version ) > 0 {
428- package { 'zabbix-proxy' :
429- ensure => $zabbix_package_state ,
430- require => Package[" zabbix-proxy-${db} " ],
431- tag => ' zabbix' ,
432- }
433- }
434-
435- # Installing the packages
436- package { "zabbix-proxy-${db}" :
437- ensure => $zabbix_package_state ,
438- tag => ' zabbix' ,
439- }
440- } # END 'redhat','centos','oraclelinux'
441- default : {
442- # Installing the packages
443- package { "zabbix-proxy-${db}" :
444- ensure => $zabbix_package_state ,
445- tag => ' zabbix' ,
446- }
447- } # END default
448- } # END case $facts['os']['name']
423+ # Installing the packages
424+ package { "zabbix-proxy-${db}" :
425+ ensure => $zabbix_package_state ,
426+ tag => ' zabbix' ,
427+ }
449428
450429 # Controlling the 'zabbix-proxy' service
451430 if $manage_service {
You can’t perform that action at this time.
0 commit comments