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 ],
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure