I there a graceful way to exit a chef run (skill all remain cookbooks/recipes) if a condition is not met.
Recipe 2 (condition not met)
Recipe 3 Skip
Recipe 4 Skip
Use would be where a manual sysadmin step is need prior to continuing.
I’m looking for a way to prevent a tangled web of only_if/not_if statements.
I’ve tried using native ruby alert(“message here”) but it exits abruptly, and chef run is not reported back to server.
Production IT | Vision Critical
New York | London | Vancouver | Paris | Sydney | Chicago | San Francisco | Toronto | Montreal | Calgary