d27bcc4872974d21bc6bbc9c41255faac18260af
[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 read only = true
12 ignore nonreadable = true
13 strict modes = false
14
15 [debian]
16   path = /srv/mirrors/debian/
17 <%- unless has_variable?("has_srv_mirrors_debian") && has_srv_mirrors_debian == "true" -%>
18   list = no
19 <%- end -%>
20   comment = Debian archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size)
21   auth users = *
22   secrets file = /home/archvsync/rsyncd/debian.secrets
23
24 [debian-debug]
25   path = /srv/mirrors/debian-debug/
26 <%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%>
27   list = no
28 <%- end -%>
29   comment = Debug packages for Debian archive (contact mirrors@debian.org for access)
30   auth users = *
31   secrets file = /home/archvsync/rsyncd/debian-debug.secrets
32
33 [debian-ports]
34   path = /srv/mirrors/debian-ports/
35 <%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%>
36   list = no
37 <%- end -%>
38   comment = Debian ports archive (contact mirrors@debian.org for access)
39   auth users = *
40   secrets file = /home/archvsync/rsyncd/debian-ports.secrets
41
42 [debian-security]
43   path = /srv/mirrors/debian-security/
44 <%- unless has_variable?("has_srv_mirrors_debian_security") && has_srv_mirrors_debian_security == "true" -%>
45   list = no
46 <%- end -%>
47   comment = Debian security archive (contact mirrors@debian.org for access)
48   auth users = *
49   secrets file = /home/archvsync/rsyncd/debian-security.secrets
50
51 [debian-security-buildd-pool]
52   path = /srv/mirrors/debian-security-buildd/pool/
53   list = no
54   auth users = *
55   secrets file = /home/archvsync/rsyncd/debian-security-buildd-pool.secrets