[chef] Catch Execute exit codes.


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Catch Execute exit codes.
  • Date: Sun, 27 Sep 2015 14:11:47 -0700

I'm using an execute resource to unzip a file. When that fails, the exit code is 9. Is there a way to catch specific exit codes from execute resources and take some custom action?

Thanks,
Doug




Archive powered by MHonArc 2.6.16.

§