projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set vhost_listen variables required by apache-www.debian.org template
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
ports_mirror.pp
diff --git
a/modules/roles/manifests/ports_mirror.pp
b/modules/roles/manifests/ports_mirror.pp
index
31cf1b5
..
709dc5a
100644
(file)
--- a/
modules/roles/manifests/ports_mirror.pp
+++ b/
modules/roles/manifests/ports_mirror.pp
@@
-1,12
+1,17
@@
class roles::ports_mirror {
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"
+
$vhost_listen = $::hostname ? {
$vhost_listen = $::hostname ? {
- klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
- mirror-isc => '149.20.
20.22:80 [2001:4f8:8:36::1deb:22
]:80',
+ 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',
default => '*:80',
}
$onion_v4_addr = $::hostname ? {
klecker => '130.89.148.14',
default => '*:80',
}
$onion_v4_addr = $::hostname ? {
klecker => '130.89.148.14',
- mirror-isc => '149.20.
20.22
',
+ mirror-isc => '149.20.
4.15
',
default => undef,
}
default => undef,
}