Under some conditions, you want to abort the current recipe during the Chef compile phase? What is the recommended way to accomplish this one?
Asked
Active
Viewed 1,873 times
1 Answers
4
The correct way to abort the current recipe during the Chef compile phase is to return.
Note, this will not abort a Chef run. For how to abort a Chef run, see How to Abort/End A Chef Run.
The response from jtimberman to How to Abort/End A Chef Run gives an incredible amount of background on this topic and is highly recommened.

Community
- 1
- 1

Jordan Dea-Mattson
- 5,791
- 5
- 38
- 53