Freeze break request: fix mirrormanager sync for vpn hosts

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

 



I removed the old 'bapp1.vpn.fedoraproject.org' entry from dns the
other day because I didn't think we used it anymore. 

Turns out that we do in a mirrormanager sync script.

This is preventing app05 and app06 from getting up to date mirror
lists. 

The following should fix it. 

Plus +1s? I might just apply it and ask for forgiveness since this is potentially causing an issue. 

kevin
--
diff --git a/modules/mirrormanager/files/mm_sync_data b/modules/mirrormanager/files/mm_sync_data
index afeb2a2..01bb484 100755
--- a/modules/mirrormanager/files/mm_sync_data
+++ b/modules/mirrormanager/files/mm_sync_data
@@ -1,4 +1,4 @@
 #!/bin/bash
 
-rsync -az --delete-after --delay-updates --delete mirrormanager@bapp1:/var/lib/mirrormanager/ /var/lib/mirror
+rsync -az --delete-after --delay-updates --delete mirrormanager@bapp01:/var/lib/mirrormanager/ /var/lib/mirro
 killall -HUP mirrorlist_server.py
diff --git a/modules/mirrormanager/files/mm_sync_out b/modules/mirrormanager/files/mm_sync_out
index ac0e38e..7eca458 100755
--- a/modules/mirrormanager/files/mm_sync_out
+++ b/modules/mirrormanager/files/mm_sync_out
@@ -1,4 +1,4 @@
 #!/bin/bash
-for s in app1 app2 app3 app4 app05 app6 app7; do
+for s in app01 app02 app03 app04 app05 app06 app07; do
     ssh $s /usr/share/mirrormanager/mm_sync_data
 done

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

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

  Powered by Linux