Remove unnecessary rm from uncat cron job

Change-Id: I226238936633580edeebaf5d4df04513133dd3d9
This commit is contained in:
Matthew Treinish 2016-08-24 10:37:40 -04:00
parent 3c4158b66d
commit ad69a89541
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -50,7 +50,7 @@ class elastic_recheck::cron (
user => 'recheck',
minute => ['20', '50'],
hour => '*',
command => "cd ${er_state_path} && mkdir -p new && er_safe_run.sh ${uncat_cmd} && rm -r new",
command => "cd ${er_state_path} && mkdir -p new && er_safe_run.sh ${uncat_cmd}",
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
require => Class['elastic_recheck']
}