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',
}
rsync::site { 'archive':
- source => 'puppet:///modules/roles/historical_mirror/rsyncd.conf',
+ content => template('roles/historical_mirror/rsyncd.conf.erb'),
max_clients => 100,
sslname => $sslname,
binds => $binds,