X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsyncproxy%2Frsyncd.conf.erb;h=f9381f1c8388a5f1a055acc72d2b88a3f59ca87b;hb=836eff39ec561176cd00cc2d7b4e66e9668a25ee;hp=d144ccc726d45ee70b533a7fab6aed98ed52a8a1;hpb=fbe56e4206801c65dae31a524d1af8665ead5714;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/syncproxy/rsyncd.conf.erb b/modules/roles/templates/syncproxy/rsyncd.conf.erb index d144ccc72..f9381f1c8 100644 --- a/modules/roles/templates/syncproxy/rsyncd.conf.erb +++ b/modules/roles/templates/syncproxy/rsyncd.conf.erb @@ -8,43 +8,43 @@ timeout = 7200 # weasel 2007-11-19 log file = /var/log/rsyncd/rsyncd-syncproxy.log +read only = true +ignore nonreadable = true +strict modes = false + [debian] path = /srv/mirrors/debian/ <%- unless has_variable?("has_srv_mirrors_debian") && has_srv_mirrors_debian == "true" -%> list = no <%- end -%> - comment = Full Debian FTP Archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size) + comment = Debian archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size) auth users = * - read only = true - 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" -%> list = no <%- end -%> - comment = Debug packages. Probably large. Starting end of 2015. + comment = Debug packages for Debian archive (contact mirrors@debian.org for access) auth users = * - read only = true - 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" -%> list = no <%- end -%> - comment = Debug packages. Probably large. Starting end of 2015. + comment = Debian ports archive (contact mirrors@debian.org for access) auth users = * - read only = true - 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" -%> list = no <%- end -%> - comment = Debian security archive (~100 GB; contact mirrors@debian.org for access) + comment = Debian security archive (contact mirrors@debian.org for access) auth users = * - read only = true - secrets file = /etc/rsyncd/debian.secrets + secrets file = /home/archvsync/rsyncd/debian-security.secrets