]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 aa5e7d756bb57b6dd6683738a928a08d71b86417..202bb8852deac64a1801d8531ae7f5f4e9e27dae 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",
                }
        }
 }