summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/design_documents/client_exit_codes.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/dev/design_documents/client_exit_codes.md b/docs/dev/design_documents/client_exit_codes.md
index b196c531e3..63bb28a1bf 100644
--- a/docs/dev/design_documents/client_exit_codes.md
+++ b/docs/dev/design_documents/client_exit_codes.md
@@ -23,7 +23,7 @@ Chef-client exit codes signal outside tools to the result of the Chef-Client run
All exit codes defined should be usable on all supported Chef Platforms. Also, the exit codes used should be identical across all platforms. That limits the total range from 1-255. Exit codes not explicitly used by Linux/Windows are listed below. There are 59 exit codes that are available on both platforms.
* Any numbers below that have a strike-through are used below in the **Exit Codes in Use** section
* Exit Codes Available for Chef use :
- * ~~35,37,40,41,42~~,43,44,45,46,47,48,49,79,81,90,91,92,93,94,95,96,97
+ * ~~35,37,40,41,42,43~~,44,45,46,47,48,49,79,81,90,91,92,93,94,95,96,97
* 98,99,115,116,168,169,172,175,176,177,178,179,181,184,185,204,211
* ~~213~~,219,227,228,235,236,237,238,239,241,242,243,244,245
@@ -34,7 +34,7 @@ All exit codes defined should be usable on all supported Chef Platforms. Also, t
## Exit Codes in Use
-#### Reboot Requirement
+### Reboot Requirement
Exit Code | Reason | Details
------------- | ------------- |-----
@@ -42,18 +42,18 @@ Exit Code | Reason | Details
37 | Reboot Needed | Reboot needs to be completed
41 | Reboot Failed | Initiated Reboot failed - due to permissions or any other reason
-
-#### Chef Run State
+### Chef Run State
Exit Code | Reason | Details
------------- | ------------- |-----
--1 | Failed execution* | Generic error during Chef execution. On Linux this will show up as 255, on Windows as -1
+-1 | Failed execution* | Generic error during Chef execution. On Linux this will show up as 255, on Windows as -1
0 | Successful run | Any successful execution of a Chef utility should return this exit code
1 | Failed execution | Generic error during Chef execution.
2 | SIGINT received | Received an interrupt signal
3 | SIGTERM received | Received an terminate signal
42 | Audit Mode Failure | Audit mode failed, but chef converged successfully.
-213 | Chef upgrade | Chef has exited during a client upgrade
+43 | Invalid config | Exit due to invalid configuration
+213 | Client upgrade | Chef has exited during a client upgrade
* \*Next release should deprecate any use of this exit code.