[chef] Exiting a run mid way through


Chronological Thread 
  • From: Kendrick Martin < >
  • To: " " < >
  • Subject: [chef] Exiting a run mid way through
  • Date: Mon, 16 Apr 2012 20:18:23 +0000
  • Accept-language: en-US

Hello all,
I’m looking for a way to exit a chef run gracefully(including calling handlers) if a specific resource is notified. I am using the reboot handler used in the windows cookbook. I would like the chef run to stop if this resource provider is called so a reboot can be processed. Is there an easy way to accomplish this?

Kendrick

 




Archive powered by MHonArc 2.6.16.

§