Add missing -p to mkdir on uncat cron job
Change-Id: I0e061c14b4ba12c8ee2f3895dca9b1b4bc14b1f0
This commit is contained in:
parent
c15da7419e
commit
3c4158b66d
@ -50,7 +50,7 @@ class elastic_recheck::cron (
|
||||
user => 'recheck',
|
||||
minute => ['20', '50'],
|
||||
hour => '*',
|
||||
command => "cd ${er_state_path} && mkdir new && er_safe_run.sh ${uncat_cmd} && rm -r new",
|
||||
command => "cd ${er_state_path} && mkdir -p new && er_safe_run.sh ${uncat_cmd} && rm -r new",
|
||||
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
|
||||
require => Class['elastic_recheck']
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user