Skip to content

Commit

Permalink
Merge pull request #198 from BcTpe4HbIu/no-zabbix-proxy-in-30
Browse files Browse the repository at this point in the history
there is no zabbix proxy package in zbx-3.0
  • Loading branch information
Werner Dijkerman committed Apr 11, 2016
2 parents d3dbe7f + dddf0ec commit 832b26a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions manifests/proxy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,12 @@
# Now we are going to install the correct packages.
case $::operatingsystem {
'redhat', 'centos', 'oraclelinux' : {
package { 'zabbix-proxy':
ensure => $zabbix_package_state,
require => Package["zabbix-proxy-${db}"],
#There is no zabbix-proxy package in 3.0
if versioncmp('3.0',$zabbix_version) > 0 {
package { 'zabbix-proxy':
ensure => $zabbix_package_state,
require => Package["zabbix-proxy-${db}"],
}
}

# Installing the packages
Expand Down

0 comments on commit 832b26a

Please sign in to comment.