The patch makes it possible to pass restartPolicy for jobs
which create different keystone resources.
However default behaviour is still the same and if restartPolicy
is undefined then it will be OnFailure as it was before.
Change-Id: I0e355cfd6947db72f77d76a0f6696e9bcef175e9