diff --git a/manifests/web.pp b/manifests/web.pp index bd6ff23f2..cf871faab 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -235,6 +235,15 @@ } 'RedHat': { $zabbix_web_package = 'zabbix-web' + + # Oracle Linux 7 has some PHP dependencies (bcmath, mbstring) in a special repository + if ($facts['os']['name'] == 'OracleLinux' and $facts['os']['release']['major'] == '7' and $zabbix_version == '4.0') { + package { 'oracle-php-release-el7': + ensure => $zabbix_package_state, + before => Package[$zabbix_web_package], + } + } + if ($facts['os']['release']['major'] == '7' and versioncmp($zabbix_version, '5.0') >= 0) { package { "zabbix-web-${db}-scl": ensure => $zabbix_package_state,