log rsync for syncproxy and security to dedicated logs
[mirror/dsa-puppet.git] / modules / roles / templates / syncproxy / rsyncd.conf.erb
1 uid = nobody
2 gid = nogroup
3 max connections = 30
4 syslog facility = daemon
5 socket options = SO_KEEPALIVE
6 timeout = 7200
7
8 # weasel 2007-11-19
9 log file =  /var/log/rsyncd/rsyncd-syncproxy.log
10
11 [debian]
12   path = /srv/mirrors/debian/
13 <%- unless has_variable?("has_srv_mirrors_debian") && has_srv_mirrors_debian == "true" -%>
14   list = no
15 <%- end -%>
16   comment = Full Debian FTP Archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size)
17   auth users = *
18   read only = true
19   secrets file = /etc/rsyncd/debian.secrets
20
21 [debian-backports]
22   path = /srv/mirrors/debian-backports/
23 <%- unless has_variable?("has_srv_mirrors_debian_backports") && has_srv_mirrors_debian_backports == "true" -%>
24   list = no
25 <%- end -%>
26   comment = Debian backports archive (up to, including Debian 6.0(squeeze) - ~35 GB; contact mirrors@debian.org for access)
27   auth users = *
28   read only = true
29   secrets file = /etc/rsyncd/debian.secrets
30
31 [debian-debug]
32   path = /srv/mirrors/debian-debug/
33 <%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%>
34   list = no
35 <%- end -%>
36   comment = Debug packages.  Probably large.  Starting end of 2015.
37   auth users = *
38   read only = true
39   secrets file = /etc/rsyncd/debian.secrets
40
41 [debian-security]
42   path = /srv/mirrors/debian-security/
43 <%- unless has_variable?("has_srv_mirrors_debian_security") && has_srv_mirrors_debian_security == "true" -%>
44   list = no
45 <%- end -%>
46   comment = Debian security archive (~100 GB; contact mirrors@debian.org for access)
47   auth users = *
48   read only = true
49   secrets file = /etc/rsyncd/debian.secrets
50