Closed swiftgist closed 4 years ago
The onfail is like a goto... so adding the failure condition for the binary being present but disabled in the kernel command line. This causes the state to succeed in that case, but leaves the original behavior intact.
huh...is there a naming conflict or version issue? Cause https://docs.saltstack.com/en/latest/ref/states/requisites.html#onfail reads differently to me. Or at least to goto-like aspect isn't mentioned.
Take a look at the whole file, it's the same behavior with the previous step. Also, I did have Martin test in his environment and the state succeeded. Would you have another solution?
Well who am I to argue with successful testing :) Only alternative might be adding jinja and I'm always up for avoiding that.
@susebot run teuthology
Commit 141eedb073e0b02679acc1992a71b325bbbde57f is OK for suite deepsea:tier2. Check tests results in the Jenkins job: https://storage-ci.suse.de/job/pr-deepsea/458/
Signed-off-by: Eric Jackson ejackson@suse.com bnc: 1174536
Checklist: