CSPACE-6335: Added 'logoutput => on_failure' to exec resource. Whitespace and quoting style fixes.