auto_certs_dir: '/srv/puppet.debian.org/ca/RESULT/certs'
auto_clientcerts_dir: '/srv/puppet.debian.org/ca/RESULT/clientcerts'
+lookup_options:
+ # entries in other hiera sources add to the array
+ apt::sources::debian::location:
+ merge: unique
+apt::sources::debian::location: 'http://deb.debian.org/debian/'
+
# all of these should be retired in favour of including the class role
# with the host. weasel, 2019-09
roles:
--- /dev/null
+---
+apt::sources::debian::location: 'https://mirror.bytemark.co.uk/debian/'
--- /dev/null
+---
+apt::sources::debian::location: 'https://mirror.bytemark.co.uk/debian/'
--- /dev/null
+---
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
local-timeservers:
- bm-bl1.debian.org
- bm-bl2.debian.org
+
+apt::sources::debian::location: 'https://mirror.bytemark.co.uk/debian/'
--- /dev/null
+---
+
+apt::sources::debian::location: 'https://mirror.netcologne.de/debian/'
local-timeservers:
- csail-node01.debian.org
- csail-node02.debian.org
+
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
nameservers:
- 143.215.130.231
- 143.215.130.232
+
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
local-timeservers:
- manda-node03.debian.org
- manda-node04.debian.org
+
+apt::sources::debian::location: 'https://mirror.netcologne.de/debian/'
--- /dev/null
+---
+
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
--- /dev/null
+---
+
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
- debprivate-sanger.debian.org
allow_dns_query:
- 193.62.202.24/29
+
+apt::sources::debian::location: 'https://mirror.bytemark.co.uk/debian/'
local-timeservers:
- ubc-enc2bl01.debian.org
- ubc-enc2bl02.debian.org
+
+apt::sources::debian::location: 'https://mirrors.wikimedia.org/debian'
- 144.32.169.75
- 144.32.169.76
firewall_blocks_dns: true
+
+apt::sources::debian::location: 'https://mirror.bytemark.co.uk/debian/'
- 80.245.147.141
- 80.245.147.142
- 80.245.147.143
+
+apt::sources::debian::location: 'https://mirror.netcologne.de/debian/'
# Stuff common to all debian.org servers
#
class debian_org::apt {
- $fallbackmirror = 'http://deb.debian.org/debian/'
-
- if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') {
- $mirror = [ getfromhash($site::nodeinfo, 'hoster', 'mirror-debian'), $fallbackmirror ]
- } else {
- $mirror = [ $fallbackmirror ]
- }
+ $mirror = lookup('apt::sources::debian::location')
# jessie
if versioncmp($::lsbmajdistrelease, '8') <= 0 {