searchpaths: []
resolvoptions: []
allow_dns_query: []
+role_config__mirrors:
+ mirror_basedir_prefix: '/srv/mirrors/'
role_config__syncproxy:
mirror_basedir_prefix: '/srv/mirrors/'
roles:
class roles::debian_mirror {
include roles::archvsync_base
+ $mirror_basedir_prefix = hiera('role_config__mirrors.mirror_basedir_prefix')
+ $archive_root = "${mirror_basedir_prefix}debian"
+
$vhost_listen = join([
$::hostname ? {
klecker => '130.89.148.12:80 [2001:610:1908:b000::148:12]:80 [2001:67c:2564:a119::148:12]:80',
mirror-isc => '149.20.4.15',
default => undef,
}
- $archive_root = $::hostname ? {
- default => '/srv/mirrors/debian',
- }
apache2::site { '010-ftp.debian.org':
site => 'ftp.debian.org',
class roles::debug_mirror {
include roles::archvsync_base
+ $mirror_basedir_prefix = hiera('role_config__mirrors.mirror_basedir_prefix')
+ $archive_root = "${mirror_basedir_prefix}debian-debug"
+
$vhost_listen = $::hostname ? {
klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80 [2001:67c:2564:a119::148:14]:80',
mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
mirror-isc => '149.20.4.15',
default => undef,
}
- $archive_root = $::hostname ? {
- default => '/srv/mirrors/debian-debug',
- }
apache2::site { '010-debug.mirrors.debian.org':
site => 'debug.mirrors.debian.org',
include roles::archvsync_base
include apache2::expires
+ $mirror_basedir_prefix = hiera('role_config__mirrors.mirror_basedir_prefix')
+ $archive_root = "${mirror_basedir_prefix}debian-archive"
+
$binds = $::hostname ? {
gretchaninov => ['209.87.16.41' , '[2607:f8f0:614:1::1274:41]' ],
klecker => ['130.89.148.13' , '[2001:610:1908:b000::148:13]',
$onion_v4_addr = $::hostname ? {
default => undef,
}
- $archive_root = $::hostname ? {
- default => '/srv/mirrors/debian-archive',
- }
apache2::site { '010-archive.debian.org':
site => 'archive.debian.org',
class roles::ports_mirror {
include roles::archvsync_base
+ $mirror_basedir_prefix = hiera('role_config__mirrors.mirror_basedir_prefix')
+ $archive_root = "${mirror_basedir_prefix}debian-ports"
+ $archive_cd_root = "${mirror_basedir_prefix}debian-ports-cd"
+
$vhost_listen = $::hostname ? {
klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80 [2001:67c:2564:a119::148:14]:80',
mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
mirror-isc => '149.20.4.15',
default => undef,
}
- $archive_root = $::hostname ? {
- default => '/srv/mirrors/debian-ports',
- }
- $archive_cd_root = $::hostname ? {
- default => '/srv/mirrors/debian-ports-cd',
- }
apache2::site { '010-ftp.ports.debian.org':
site => 'ftp.ports.debian.org',