Deprecation: Old Exit Codes (CHEF-2)
In older versions of Chef Infra Client, it was not possible to discern why a chef run exited simply by examining the error code. This makes it tricky for tools such as Test Kitchen to reason about the status of a Chef Infra Client run. Starting in Chef Infra Client 12.11, there are now well defined exit codes that the Chef Infra Client can use to communicate the status of the run.
This deprecation was added in Chef Infra Client 12.11. In Chef Infra Client 13, only the extended set of exit codes will be supported. For further information on the list of defined error codes, please see RFC 62, which defines them.
If you have built automation that is dependent on the old behavior of Chef Infra Client, we strongly recommend updating it to support the extended set of exit codes. However, it is still possible to enable the old behavior. Add the setting
to the Chef config file.
Was this page helpful?