Freeze Break Request: Better rsync to bapp02::docs

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

 



The proxies are currently not purging deleted content when rsyncing
docs.fp.o. I'd like to fix that:

diff --git a/modules/fedora-docs/manifests/init.pp
b/modules/fedora-docs/manifests/init.pp
index 1d618b0..6efc559 100644
--- a/modules/fedora-docs/manifests/init.pp
+++ b/modules/fedora-docs/manifests/init.pp
@@ -33,7 +33,7 @@ define fedora-docs::proxy($website) {
 
     cron { "sync-fedora-docs":
         # TODO: Make add some locking to this.
-        command => "/usr/bin/rsync -aSHPq --exclude=.git/objects/
bapp02::docs/ /srv/web/docs.fedoraproject.org/",
+        command => "/usr/bin/rsync --delete -aSHPq
--exclude=.git/objects/ bapp02::docs/ /srv/web/docs.fedoraproject.org/",
         user    => "root",
         minute  => 10,
        ensure  => present,

-- 
-- Pete Travis
 - Fedora Docs Project Leader
 - 'randomuser' on freenode
 - immanetize@xxxxxxxxxxxxxxxxx

_______________________________________________
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