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
This commit is contained in:
parent
0ca0fb35cf
commit
58890e3b7e
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user