From 5ec69805655b385a4f4177f5802074544dfe0ee1 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 4 Oct 2023 09:12:31 +0200 Subject: [PATCH] use special frontend repo for 5.0 on *all* EL7, not just CentOS --- manifests/repo.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/repo.pp b/manifests/repo.pp index 25c1eefba..b0a176d82 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -70,8 +70,8 @@ priority => '1', } - # Zabbix 5.0 frontend on CentOS 7 has different location. - if ($facts['os']['name'] == 'CentOS' and $majorrelease == '7' and $zabbix_version == '5.0') { + # Zabbix 5.0 frontend on EL7 has different location. + if ($majorrelease == '7' and $zabbix_version == '5.0') { $_frontend_repo_location = $frontend_repo_location ? { undef => "https://repo.zabbix.com/zabbix/${zabbix_version}/rhel/${majorrelease}/\$basearch/frontend", default => $frontend_repo_location,