Set the correct weblogs destination in the weblog provider cron job
authorPaul Wise <pabs@debian.org>
Sun, 18 Oct 2015 14:47:04 +0000 (22:47 +0800)
committerPaul Wise <pabs@debian.org>
Sun, 18 Oct 2015 14:47:04 +0000 (22:47 +0800)
modules/roles/manifests/weblog_provider.pp

index aa5e7d7..202bb88 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 '*-public-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@rXXXXX:-weblogs-incoming-\n",
+                       content => "SHELL=/bin/bash\n\n0 */4 * * * weblogsync sleep $((RANDOM \% 1800)); rsync -a --delete-excluded --include '*-public-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-\n",
                }
        }
 }