Only sync logs once per day since we are only transferring rotated logs
authorPaul Wise <pabs@debian.org>
Sun, 18 Oct 2015 15:52:54 +0000 (23:52 +0800)
committerPaul Wise <pabs@debian.org>
Sun, 18 Oct 2015 15:52:54 +0000 (23:52 +0800)
Signed-off-by: Paul Wise <pabs@debian.org>
modules/roles/manifests/weblog_provider.pp

index db24621..ae17dcd 100644 (file)
@@ -6,7 +6,7 @@ class roles::weblog_provider {
                }
        } else {
                file { '/etc/cron.d/puppet-weblog-provider':
-                       content => "SHELL=/bin/bash\n\n0 */4 * * * 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' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-\n",
                }
        }
 }