make syncproxy rsync.conf a template
[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.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 (~1.5 TB as of 2015; contact mirrors@debian.org for access)
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 <%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%>
33   list = no
34 <%- end -%>
35   path = /srv/mirrors/debian-debug/
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 <%- unless has_variable?("has_srv_mirrors_debian_security") && has_srv_mirrors_debian_security == "true" -%>
43   list = no
44 <%- end -%>
45   path = /srv/mirrors/debian-security/
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