From: Aurelien Jarno Date: Tue, 1 Nov 2016 11:51:57 +0000 (+0100) Subject: weblogsync: Synchronize public logs in additions of www.debian.org logs X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c4ebe9feb777e39bfb9bd6788fe4e134b1c4536b;p=mirror%2Fdsa-puppet.git weblogsync: Synchronize public logs in additions of debian.org logs Commit b8a50b04 has broken the synchronisation of non www.debian.org public logs. Fix that. Signed-off-by: Aurelien Jarno --- diff --git a/modules/roles/manifests/weblog_provider.pp b/modules/roles/manifests/weblog_provider.pp index d915bbc5b..30c4d5f1f 100644 --- a/modules/roles/manifests/weblog_provider.pp +++ b/modules/roles/manifests/weblog_provider.pp @@ -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", } } }