[PATCH] Enabling the wrapper script and removing F10

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

 



This was requested by jesse and will ensure the sync script is only running once and
is no longer syncing F10
---
 configs/system/fedora-updates-push |    2 +-
 manifests/services/mirrormaster.pp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/system/fedora-updates-push b/configs/system/fedora-updates-push
index 94105d5..45346b1 100755
--- a/configs/system/fedora-updates-push
+++ b/configs/system/fedora-updates-push
@@ -3,7 +3,7 @@
 SOURCE=/mnt/koji/mash/updates
 DEST=/pub/fedora/linux/updates/
 
-for rel in 10 11 12; do
+for rel in 11 12; do
 
 rsync -rlptDvHh --delay-updates $RSYNC_OPTS --exclude "repodata/*" \
         $SOURCE/f$rel-updates/ $DEST/$rel/ &>/dev/null
diff --git a/manifests/services/mirrormaster.pp b/manifests/services/mirrormaster.pp
index 513157a..001aec2 100644
--- a/manifests/services/mirrormaster.pp
+++ b/manifests/services/mirrormaster.pp
@@ -49,7 +49,7 @@ class mirrormaster::fedora {
     include mirrormaster
 
     cron { updates-sync:
-        command => "/usr/local/bin/fedora-updates-push && /usr/local/bin/update-fullfilelist fedora",
+        command => "/usr/local/bin/lock-wrapper fedora-updates-push '/usr/local/bin/fedora-updates-push && /usr/local/bin/update-fullfilelist fedora'",
         user => ftpsync,
         minute => [ 15, 45 ],
         ensure => present,
-- 
1.6.6

_______________________________________________
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