1 class roles::debian_mirror {
2 include roles::archvsync_base
6 klecker => '130.89.148.12:80 [2001:610:1908:b000::148:12]:80',
7 mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
8 mirror-conova => '217.196.149.232:80 [2a02:16a8:dc41:100::232]:80',
12 true => '193.31.7.2:80 [2a02:158:ffff:deb::2]:80',
15 $onion_v4_addr = $::hostname ? {
16 mirror-bytemark => '5.153.231.37',
17 klecker => '130.89.148.12',
18 mirror-isc => '149.20.4.15',
21 $archive_root = $::hostname ? {
22 default => '/srv/mirrors/debian',
25 apache2::site { '010-ftp.debian.org':
26 site => 'ftp.debian.org',
27 content => template('roles/apache-ftp.debian.org.erb'),
30 if has_role('debian_mirror_onion') {
32 fail("Do not have an onion_v4_addr set for $::hostname.")
35 onion::service { 'ftp.debian.org':
38 target_address => $onion_v4_addr,