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
 - [email protected]

_______________________________________________
infrastructure mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Reply via email to