projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
As debian.mirrors.d.o gets checked by the health checker, explicitly listen on localhost
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
debian_mirror.pp
diff --git
a/modules/roles/manifests/debian_mirror.pp
b/modules/roles/manifests/debian_mirror.pp
index
de9e624
..
7cf7254
100644
(file)
--- a/
modules/roles/manifests/debian_mirror.pp
+++ b/
modules/roles/manifests/debian_mirror.pp
@@
-5,7
+5,7
@@
class roles::debian_mirror {
$archive_root = "${mirror_basedir_prefix}debian"
$listen_addresses = hiera('roles.debian_mirror')
.dig($::fqdn, 'listen-addresses')
- .then |$a| { $a
+ [ '127.0.0.1:80', '[::1]:80' ]
}
+ .then |$a| { $a }
.lest || { ['*:80'] }
$vhost_listen = join([