diff --git a/inventory/group_vars/download b/inventory/group_vars/download index 7d3fe98e72..a806797276 100644 --- a/inventory/group_vars/download +++ b/inventory/group_vars/download @@ -70,3 +70,5 @@ dl_tier1: - 147.75.69.165 # sjc.edge.kernel.org - 147.75.197.195 # ewr.edge.kernel.org - 147.75.101.1 # ams.edge.kernel.org + - 130.225.254.116 # dotsrc.org + - 2001:878:346::116 # dotsrc.org diff --git a/roles/rsyncd/templates/rsyncd.conf.download.j2 b/roles/rsyncd/templates/rsyncd.conf.download.j2 index 9a7b0fcd97..aa2f8f0580 100644 --- a/roles/rsyncd/templates/rsyncd.conf.download.j2 +++ b/roles/rsyncd/templates/rsyncd.conf.download.j2 @@ -149,6 +149,7 @@ refuse options = checksum gid = 263 hosts allow = {% for host in vars['dl_tier1'] %}{{host}},{% endfor %} +{% if datacenter == 'phx2' %} [fedora-compose0] comment = Fedora composes path = /mnt/koji/compose @@ -156,7 +157,16 @@ refuse options = checksum uid = nobody gid = nobody hosts allow = 10.0.0.0/8, 209.132.0.0/16 +{% endif %} +{% if inventory_hostname == 'download-cc-rdu01.fedoraproject.org' %} +[centos] + comment = CentOS + path = /srv/pub/centos + list = no + uid = nobody + gid = nobody +{% endif %} # For distributing applications [log]