From c4ebe9feb777e39bfb9bd6788fe4e134b1c4536b Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Tue, 1 Nov 2016 12:51:57 +0100 Subject: [PATCH] weblogsync: Synchronize public logs in additions of www.debian.org logs Commit b8a50b04 has broken the synchronisation of non www.debian.org public logs. Fix that. Signed-off-by: Aurelien Jarno --- modules/roles/manifests/weblog_provider.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", } } } -- 2.20.1