From 0f8afeb8ad56db7ccae6aaee8b4e004e154808a2 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 31 Jul 2014 15:20:01 +0000 Subject: [PATCH] Silence drupal cron job * modules/drupal/manifests/init.pp: Since the cron URL can return content, write it to the bitbucket so that we don't annoy sysadmins with cronspam every five minutes. Change-Id: I9df9510eb14e89c380dadba98cd4834a6a83fffc --- modules/drupal/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/drupal/manifests/init.pp b/modules/drupal/manifests/init.pp index 025db311d4..e0ad6d67c9 100644 --- a/modules/drupal/manifests/init.pp +++ b/modules/drupal/manifests/init.pp @@ -244,7 +244,7 @@ class drupal ( cron { $site_name: name => "${site_name}.cron", - command => "wget -O - -q -t 1 ${$site_base_url}/cron.php?cron_key=${$conf_cron_key}", + command => "wget -O /dev/null -q -t 1 ${$site_base_url}/cron.php?cron_key=${$conf_cron_key}", user => root, minute => '*/5', require => [ @@ -252,4 +252,4 @@ class drupal ( ] } -} \ No newline at end of file +}