weblogsync: Synchronize public logs in additions of www.debian.org logs
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 1 Nov 2016 11:51:57 +0000 (12:51 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 1 Nov 2016 11:51:57 +0000 (12:51 +0100)
Commit b8a50b04 has broken the synchronisation of non www.debian.org
public logs. Fix that.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/roles/manifests/weblog_provider.pp

index d915bbc..30c4d5f 100644 (file)
@@ -10,7 +10,7 @@ class roles::weblog_provider {
                        mode   => '0755',
                }
                file { '/etc/cron.d/puppet-weblog-provider':
-                       content => "SHELL=/bin/bash\n\n0 1 * * * weblogsync sleep $((RANDOM \% 1800)); rsync -a --delete-excluded --include 'www.debian.org-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-\n",
+                       content => "SHELL=/bin/bash\n\n0 1 * * * weblogsync sleep $((RANDOM \% 1800)); rsync -a --delete-excluded --include 'www.debian.org-access.log-*gz' --include '*-public-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-\n",
                }
        }
 }