changeset 384:22e45bb5ea97 pre-ubuntu

Remove unsupported failover in Yum configs Yum supported it, DNF didn't. CentOS Streams is more agressively DNF-based
author IBBoard <dev@ibboard.co.uk>
date Sun, 19 Dec 2021 20:10:16 +0000
parents f9a6f6ff8256
children d9009f54eb23
files manifests/templates.pp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Thu Dec 16 20:37:58 2021 +0000
+++ b/manifests/templates.pp	Sun Dec 19 20:10:16 2021 +0000
@@ -222,7 +222,7 @@
 		mirrorlist => 'https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch',
 		descr => "Extra Packages for Enterprise Linux",
 		enabled => 1,
-		failovermethod => 'priority',
+		failovermethod => absent,
 		gpgcheck => 1,
 		gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$osver",
 	}
@@ -391,7 +391,7 @@
 			mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/safe/$basearch/mirror',
 			descr => "Extra CentOS packages from Remi",
 			enabled => 1,
-			failovermethod => 'priority',
+			failovermethod => absent,
 			gpgcheck => 1,
 			gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi',
 		}
@@ -399,7 +399,7 @@
 			mirrorlist => 'http://cdn.remirepo.net/enterprise/8/modular/$basearch/mirror',
 			descr => 'Remi\'s Modular repository for Enterprise Linux 8 - $basearch',
 			enabled => 1,
-			failovermethod => 'priority',
+			failovermethod => absent,
 			gpgcheck => 1,
 			gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi',
 		}
@@ -413,7 +413,7 @@
 			mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/safe/mirror',
 			descr => "Extra CentOS packages from Remi",
 			enabled => 1,
-			failovermethod => 'priority',
+			failovermethod => absent,
 			gpgcheck => 1,
 			gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi',
 		}
@@ -421,7 +421,7 @@
 			mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/php74/mirror',
 			descr => "PHP7.4 for CentOS from Remi",
 			enabled => 1,
-			failovermethod => 'priority',
+			failovermethod => absent,
 			gpgcheck => 1,
 			gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi',
 		}