Skip to content

Commit daf5c24

Browse files
committed
use special frontend repo for 5.0 on *all* EL7, not just CentOS
1 parent 5bc7fa0 commit daf5c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/repo.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
priority => '1',
7171
}
7272

73-
# Zabbix 5.0 frontend on CentOS 7 has different location.
74-
if ($facts['os']['name'] == 'CentOS' and $majorrelease == '7' and $zabbix_version == '5.0') {
73+
# Zabbix 5.0 frontend on EL7 has different location.
74+
if ($majorrelease == '7' and $zabbix_version == '5.0') {
7575
$_frontend_repo_location = $frontend_repo_location ? {
7676
undef => "https://repo.zabbix.com/zabbix/${zabbix_version}/rhel/${majorrelease}/\$basearch/frontend",
7777
default => $frontend_repo_location,

0 commit comments

Comments
 (0)