From 3c4158b66d409a96e605e30de23f7d75e76ccbda Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Wed, 24 Aug 2016 10:28:18 -0400 Subject: [PATCH] Add missing -p to mkdir on uncat cron job Change-Id: I0e061c14b4ba12c8ee2f3895dca9b1b4bc14b1f0 --- manifests/cron.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/cron.pp b/manifests/cron.pp index 4c06ad4..5beea14 100644 --- a/manifests/cron.pp +++ b/manifests/cron.pp @@ -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'] }