Extract default rsyncd module parameter
authorBastian Blank <waldi@debian.org>
Fri, 3 Feb 2017 17:52:29 +0000 (18:52 +0100)
committerBastian Blank <waldi@debian.org>
Tue, 7 Feb 2017 20:19:47 +0000 (21:19 +0100)
modules/roles/files/dakmaster/rsyncd.conf
modules/roles/files/ports_master/rsyncd.conf
modules/roles/files/security_master/rsyncd.conf
modules/roles/files/security_mirror/rsyncd.conf
modules/roles/templates/syncproxy/rsyncd.conf.erb

index 7c154f0..ddfec04 100644 (file)
@@ -6,39 +6,31 @@ socket options = SO_KEEPALIVE
 timeout = 7200
 log file = /var/log/rsyncd/rsyncd.log
 
+list = no
+read only = true
+ignore nonreadable = true
+strict modes = false
+
 [indices]
   path = /srv/ftp-master.debian.org/mirror/ftp-master/indices
-  list = no
   auth users = *
-  read only = true
   secrets file = /etc/rsyncd/indices.secrets
 
 [debian]
   path = /srv/ftp-master.debian.org/mirror/ftp-master
-  list = no
   auth users = *
-  read only = true
   secrets file = /home/archvsync/rsyncd/debian.secrets
-  strict modes = false
 
 [debian-debug]
   path = /srv/ftp-master.debian.org/mirror/debian-debug
   auth users = *
-  read only = true
   secrets file = /home/archvsync/rsyncd/debian-debug.secrets
-  strict modes = false
-  list = no
 
 [buildd-keyrings]
   path = /srv/ftp-master.debian.org/scripts/builddkeyrings/keyrings
-  read only = true
-  list = no
   hosts allow = 82.195.75.106, 2001:41b8:202:deb:216:36ff:fe40:3906
 
 [debian-buildd-dists]
   path = /srv/static.debian.org/master/incoming.debian.org-current-live/debian-buildd/dists
-  read only = true
-  list = no
   auth users = *
   secrets file = /home/archvsync/rsyncd/debian-buildd-dists.secrets
-  strict modes = false
index 0510b82..699f928 100644 (file)
@@ -7,19 +7,17 @@ reverse lookup = false
 timeout = 7200
 log file = /var/log/rsyncd/rsyncd-ports-master.log
 
+list = no
+read only = true
+ignore nonreadable = true
+strict modes = false
+
 [debian-ports]
   path = /srv/ports-master.debian.org/ftp/debian-ports
-  list = no
   auth users = *
-  read only = true
-  ignore nonreadable = true
   secrets file = /home/archvsync/rsyncd/debian-ports.secrets
-  strict modes = false
 
 [debian-ports-cd]
   path = /srv/ports-master.debian.org/ftp/debian-ports-cd
-  list = no
   auth users = *
-  read only = true
   secrets file = /home/archvsync/rsyncd/debian-ports-cd.secrets
-  strict modes = false
index e7de8c8..c944fd1 100644 (file)
@@ -6,27 +6,22 @@ socket options = SO_KEEPALIVE
 timeout = 7200
 log file = /var/log/rsyncd/rsyncd.log
 
+list = no
+read only = true
+ignore nonreadable = true
+strict modes = false
+
 [debian-security]
   path = /srv/security.debian.org/archive/debian-security/
-  list = no
   auth users = *
-  read only = true
   secrets file = /home/archvsync/rsyncd/debian-security.secrets
-  strict modes = false
-  list = no
 
 [debian-security-buildd-dists]
   path = /srv/security-master.debian.org/buildd/debian-security-buildd/dists
-  read only = true
-  list = no
   auth users = *
   secrets file = /home/archvsync/rsyncd/debian-security-buildd-dists.secrets
-  strict modes = false
 
 [debian-security-buildd-pool]
   path = /srv/security-master.debian.org/buildd/debian-security-buildd/pool
-  read only = true
-  list = no
   auth users = *
   secrets file = /home/archvsync/rsyncd/debian-security-buildd-pool.secrets
-  strict modes = false
index 353f359..47f1f1c 100644 (file)
@@ -8,8 +8,10 @@ timeout = 1200
 # weasel 2007-11-19
 log file =  /var/log/rsyncd/rsyncd-security.log
 
+read only = true
+ignore nonreadable = true
+strict modes = false
+
 [debian-security]
   path = /srv/ftp.root/debian-security
   comment = Debian security archive
-  read only = true
-
index 39673a7..1ee5a7b 100644 (file)
@@ -8,6 +8,10 @@ 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" -%>
@@ -15,7 +19,6 @@ log file =  /var/log/rsyncd/rsyncd-syncproxy.log
 <%- end -%>
   comment = Full Debian FTP 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
 
 [debian-debug]
@@ -25,7 +28,6 @@ log file =  /var/log/rsyncd/rsyncd-syncproxy.log
 <%- end -%>
   comment = Debug packages.  Probably large.  Starting end of 2015.
   auth users = *
-  read only = true
   secrets file = /etc/rsyncd/debian.secrets
 
 [debian-ports]
@@ -35,7 +37,6 @@ log file =  /var/log/rsyncd/rsyncd-syncproxy.log
 <%- end -%>
   comment = debian-ports tree - see https://www.ports.debian.org/
   auth users = *
-  read only = true
   secrets file = /etc/rsyncd/debian.secrets
 
 [debian-security]
@@ -45,6 +46,5 @@ log file =  /var/log/rsyncd/rsyncd-syncproxy.log
 <%- end -%>
   comment = Debian security archive (~100 GB; contact mirrors@debian.org for access)
   auth users = *
-  read only = true
   secrets file = /etc/rsyncd/debian.secrets