Freeze break: sync download-ib01 from dl.fedoraproject.org
Kevin Fenzi
kevin at scrye.com
Fri Nov 23 17:06:07 UTC 2012
We pointed our download-i2 mirrors over to download-ib01 while they are
in the process of being migrated. Sadly, we didn't notice that
download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
kevin
--
diff --git a/modules/mirrormanager/files/sync.sh b/modules/mirrormanager/files/sync.sh
index 6a30d73..9a63adf 100755
--- a/modules/mirrormanager/files/sync.sh
+++ b/modules/mirrormanager/files/sync.sh
@@ -12,7 +12,7 @@ ALT_EXCLUDES="--exclude stage/deltaisos/archive"
EPL_EXCLUDES=""
FED_EXCLUDES=""
-SERVER=download-rdu02-I2.fedoraproject.org
+SERVER=dl.fedoraproject.org
# http://dl.fedoraproject.org/pub/alt/
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${ALT_EXCLUDES} ${SERVER}::fedora-alt/ /srv/pub/alt/ | tail -n2 | logger -p
diff --git a/modules/mirrormanager/manifests/init.pp b/modules/mirrormanager/manifests/init.pp
index e5ceb4e..7dcc375 100644
--- a/modules/mirrormanager/manifests/init.pp
+++ b/modules/mirrormanager/manifests/init.pp
@@ -329,7 +329,7 @@ class mirrormanager::sync {
}
cron { 'sync-mirror':
- command => '/usr/local/bin/sync.sh',
+ command => '/usr/local/bin/lock-wrapper mirrorsync /usr/local/bin/sync.sh',
require => [File['/etc/mirrormanager-client/report_mirror.conf'], File['/usr/local/bin/sync.sh']],
user => "root",
hour => [ 13 ],
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20121123/f88aa604/attachment.sig>
More information about the infrastructure
mailing list