From 29ee1deb483448fcda426bb7d40dc8844f5539ea Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 6 Mar 2017 10:21:55 +0100 Subject: [PATCH] Add anycast mirror to sources.list --- modules/debian-org/manifests/apt.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/debian-org/manifests/apt.pp b/modules/debian-org/manifests/apt.pp index 7ba31a4dc..74aaa71c8 100644 --- a/modules/debian-org/manifests/apt.pp +++ b/modules/debian-org/manifests/apt.pp @@ -18,9 +18,9 @@ class debian-org::apt { } if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') { - $mirror = [ getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'), $fallbackmirror ] + $mirror = [ getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'), $fallbackmirror, 'http://debian.anycast-test.mirrors.debian.org/debian/' ] } else { - $mirror = [ $fallbackmirror ] + $mirror = [ $fallbackmirror, 'http://debian.anycast-test.mirrors.debian.org/debian/' ] } site::aptrepo { 'debian': @@ -29,7 +29,7 @@ class debian-org::apt { components => ['main','contrib','non-free'] } site::aptrepo { 'security': - url => [ 'http://security-cdn.debian.org/', 'http://security.debian.org/' ], + url => [ 'http://security-cdn.debian.org/', 'http://security.anycast-test.mirrors.debian.org/debian-security/', 'http://security.debian.org/' ], suite => "${mungedcodename}/updates", components => ['main','contrib','non-free'] } -- 2.20.1