+1
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
-----Original Message-----
From: infrastructure-bounces(a)lists.fedoraproject.org
[mailto:infrastructure-bounces@lists.fedoraproject.org] On Behalf Of Kevin Fenzi
Sent: Tuesday, March 20, 2012 10:15 PM
To: Fedora Infrastructure
Subject: Freeze break request: fix mirrormanager sync for vpn hosts
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