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
This commit is contained in:
Jeremy Stanley 2014-07-31 15:20:01 +00:00
parent bb6ea2c0fa
commit 1089578218
1 changed files with 2 additions and 2 deletions

View File

@ -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 (
]
}
}
}