From: Tollef Fog Heen Date: Sat, 30 Sep 2017 20:40:26 +0000 (+0200) Subject: Use hard coded list for what hosts to check X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0755ef53bc1b5899fc5c306b806a1bd1085be64b;p=mirror%2Fdsa-puppet.git 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. --- 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', }