check puppet's return codes for failures