From 0755ef53bc1b5899fc5c306b806a1bd1085be64b Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 30 Sep 2017 22:40:26 +0200 Subject: [PATCH] Use hard coded list for what hosts to check We can't just grab this from hiera, since some hosts have service addresses that are not their primary host addresses and so we get 404s when asking on the wrong IP. --- modules/roles/manifests/debian_mirror.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/manifests/debian_mirror.pp b/modules/roles/manifests/debian_mirror.pp index cae863f58..da2f07c28 100644 --- a/modules/roles/manifests/debian_mirror.pp +++ b/modules/roles/manifests/debian_mirror.pp @@ -41,7 +41,7 @@ class roles::debian_mirror { } roles::mirror_health { 'ftp': - check_hosts => getfromhash($site::roles, 'debian_mirror'), + check_hosts => ['mirror-bytemark-debian.debian.org', 'mirror-conova-debian.debian.org, mirror-isc3.debian.org', 'mirror-accumu.debian.org', 'mirror-skroutz.debian.org', 'klecker-ftp.debian.org'], check_service => 'ftp', url => 'http://debian.backend.mirrors.debian.org/debian/dists/sid/Release', } -- 2.20.1