X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsyncproxy%2Frsyncd.conf.erb;h=14a6d07186891ee7a1e42d6d661566916e8ade7b;hb=e2768b13344b149e62d256f7efbcee923e4e6e3d;hp=2801573dc8df9ab85db7deef7b63ca66175d4823;hpb=0f9b84d3f46ab4707130f373a06394ae9a193ad4;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/syncproxy/rsyncd.conf.erb b/modules/roles/templates/syncproxy/rsyncd.conf.erb index 2801573dc..14a6d0718 100644 --- a/modules/roles/templates/syncproxy/rsyncd.conf.erb +++ b/modules/roles/templates/syncproxy/rsyncd.conf.erb @@ -1,8 +1,8 @@ uid = nobody gid = nogroup -max connections = 30 syslog facility = daemon socket options = SO_KEEPALIVE +reverse lookup = false timeout = 7200 # weasel 2007-11-19 @@ -14,37 +14,42 @@ strict modes = false [debian] path = /srv/mirrors/debian/ -<%- unless has_variable?("has_srv_mirrors_debian") && has_srv_mirrors_debian == "true" -%> +<%- unless has_variable?("has_srv_mirrors_debian") && @has_srv_mirrors_debian -%> list = no <%- end -%> comment = Debian archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size) auth users = * - secrets file = /etc/rsyncd/debian.secrets + secrets file = /home/archvsync/rsyncd/debian.secrets [debian-debug] path = /srv/mirrors/debian-debug/ -<%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%> +<%- unless has_variable?("has_srv_mirrors_debian_debug") && @has_srv_mirrors_debian_debug -%> list = no <%- end -%> comment = Debug packages for Debian archive (contact mirrors@debian.org for access) auth users = * - secrets file = /etc/rsyncd/debian.secrets + secrets file = /home/archvsync/rsyncd/debian-debug.secrets [debian-ports] path = /srv/mirrors/debian-ports/ -<%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%> +<%- unless has_variable?("has_srv_mirrors_debian_debug") && @has_srv_mirrors_debian_debug -%> list = no <%- end -%> comment = Debian ports archive (contact mirrors@debian.org for access) auth users = * - secrets file = /etc/rsyncd/debian.secrets + secrets file = /home/archvsync/rsyncd/debian-ports.secrets [debian-security] path = /srv/mirrors/debian-security/ -<%- unless has_variable?("has_srv_mirrors_debian_security") && has_srv_mirrors_debian_security == "true" -%> +<%- unless has_variable?("has_srv_mirrors_debian_security") && @has_srv_mirrors_debian_security -%> list = no <%- end -%> comment = Debian security archive (contact mirrors@debian.org for access) auth users = * - secrets file = /etc/rsyncd/debian.secrets + secrets file = /home/archvsync/rsyncd/debian-security.secrets +[debian-security-buildd-pool] + path = /srv/mirrors/debian-security-buildd/pool/ + list = no + auth users = * + secrets file = /home/archvsync/rsyncd/debian-security-buildd-pool.secrets