I believe this should check the job status from idrac rather than just checking whether the file exists. That will provide better error messaging on failure. See https://github.com/dell-asm/dell-idrac/blob/master/lib/puppet/provider/checkjdstatus.rb#L13