Add missing -p to mkdir on uncat cron job

Change-Id: I0e061c14b4ba12c8ee2f3895dca9b1b4bc14b1f0
This commit is contained in:
Matthew Treinish 2016-08-24 10:28:18 -04:00
parent c15da7419e
commit 3c4158b66d
1 changed files with 1 additions and 1 deletions

View File

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