[chef] knife return codes?


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] knife return codes?
  • Date: Thu, 30 Apr 2015 18:31:04 +0000
  • Accept-language: en-US

I see (in my Jenkins console for example) that when knife fails I get a return code 1. Can I assume that if knife passes that it returns a 0? If no, what’s the best way to check for a pass/fail knife condition without parsing the output?

 

Chris




Archive powered by MHonArc 2.6.16.

§