From 58890e3b7eee41a7dd64a8b52ddc270670bc2197 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 7 Apr 2014 11:35:03 -0700 Subject: [PATCH] Make e-r crons valid puppet Puppet does not like cron list syntax to be made as a normal string. Instead you must give puppet cron resources a puppet list that it will convert to a cron list... Change-Id: Ia0839be9b7d8ae772065f782adf61f831e75b92e --- modules/elastic_recheck/manifests/cron.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/elastic_recheck/manifests/cron.pp b/modules/elastic_recheck/manifests/cron.pp index fbb5ec2f53..2d498272f6 100644 --- a/modules/elastic_recheck/manifests/cron.pp +++ b/modules/elastic_recheck/manifests/cron.pp @@ -25,7 +25,7 @@ class elastic_recheck::cron () { cron { 'elastic-recheck-all': user => 'recheck', - minute => '0,30', + minute => ['0', '30'], hour => '*', command => "cd ${er_state_path} && er_safe_run.sh ${graph_all_cmd}", environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', @@ -34,7 +34,7 @@ class elastic_recheck::cron () { cron { 'elastic-recheck-gate': user => 'recheck', - minute => '10,40', + minute => ['10', '40'], hour => '*', command => "cd ${er_state_path} && er_safe_run.sh ${graph_gate_cmd}", environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', @@ -44,7 +44,7 @@ class elastic_recheck::cron () { cron { 'elastic-recheck-uncat': user => 'recheck', - minute => '20,50', + minute => ['20', '50'], hour => '*', command => "cd ${er_state_path} && er_safe_run.sh ${uncat_cmd}", environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',