[FBR] Move download-ib01 to new server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff --git a/files/download/sync-up-downloads.sh.ib01
b/files/download/sync-up-downloads.sh.ib01
index 98624c7..dde40cf 100755
--- a/files/download/sync-up-downloads.sh.ib01
+++ b/files/download/sync-up-downloads.sh.ib01
@@ -14,9 +14,13 @@ FED_EXCLUDES=""

 DATE_EPEL='/root/last-epel-sync'
 DATE_FED='/root/last-fed-sync'
+DATE_ARCHIVE='/root/last-archive-sync'
+DATE_ALT='/root/last-alt-sync'
+DATE_SECOND='/root/last-second-sync'

-touch ${DATE_EPEL}
-touch ${DATE_FED}
+for i in ${DATE_EPEL} ${DATE_FED} ${DATE_ARCHIVE} ${DATE_ALT}
${DATE_SECOND}; do
+  touch ${i}
+done

 LAST_SYNC='/usr/local/bin/last-sync'

@@ -54,6 +58,9 @@ function sync_stuff() {

 sync_stuff ${DATE_EPEL} rsync_epel fedora-epel0 /srv/pub/epel/ "-e"
 sync_stuff ${DATE_FED} rsync_fedora fedora-enchilada0 /srv/pub/fedora/ "-f"
+sync_stuff ${DATE_ARCHIVE} rsync_archive fedora-archive0 /srv/pub/archive/ "-f"
+sync_stuff ${DATE_ALT} rsync_alt fedora-alt0 /srv/pub/alt/ "-f"
+sync_stuff ${DATE_SECOND} rsync_second fedora-secondary0
/srv/pub/fedora-secondary/ "-f"

 # Let MM know I'm all up to date
 #/usr/bin/report_mirror
diff --git a/inventory/host_vars/download-ib01.fedoraproject.org
b/inventory/host_vars/download-ib01.fedoraproject.org
index ed0559d..d556cd5 100644
--- a/inventory/host_vars/download-ib01.fedoraproject.org
+++ b/inventory/host_vars/download-ib01.fedoraproject.org
@@ -6,7 +6,7 @@ dns: 8.8.8.8
 ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7-ext
 ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/

-vmhost: ibiblio03.fedoraproject.org
+vmhost: ibiblio01.fedoraproject.org

 volgroup: /dev/vg_guests

 eth0_ip: 152.19.134.145
diff --git a/inventory/inventory b/inventory/inventory
index 5920200..3021edf 100644
--- a/inventory/inventory
+++ b/inventory/inventory
@@ -360,7 +360,6 @@ download05.phx2.fedoraproject.org

 [download-ibiblio]
 download-ib01.fedoraproject.org
-download-ib02.fedoraproject.org

 [download-rdu2]
 download-rdu01.fedoraproject.org
diff --git a/roles/rsyncd/templates/rsyncd.conf.download.j2
b/roles/rsyncd/templates/rsyncd.conf.download.j2
index c488b9e..9a7b0fc 100644
--- a/roles/rsyncd/templates/rsyncd.conf.download.j2
+++ b/roles/rsyncd/templates/rsyncd.conf.download.j2
@@ -141,6 +141,13 @@ refuse options = checksum
        gid = 263
        hosts allow = {% for host in vars['dl_tier1'] %}{{host}},{% endfor %}

+[fedora-secondary0]
+       comment = Fedora Secondary Archs
+       path = /srv/pub/fedora-secondary
+       list = no
+       uid = nobody
+       gid = 263
+       hosts allow = {% for host in vars['dl_tier1'] %}{{host}},{% endfor %}

 [fedora-compose0]
        comment = Fedora composes


-- 
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux