Chef 12.18.31 Released

Hello Chefs!

We’re happy to announce the release of Chef v12.18!

Release Highlights

Highlighted enhancements for this release:

  • You can now specify the acceptable return codes from the chocolatey_package resource using the returns property.
  • You can now enable chef-client to run as a scheduled task directly from the client MSI on Windows hosts.
  • The package provider now supports DNF packages for Fedora and upcoming RHEL releases

Highlighted bug fixes for this release:

  • Fixed exposure of sensitive data of resources marked as sensitive inside Reporting. Before you were able to see the sensitive data on the Run History tab in the Chef Manage Console. Now we are sending a new blank resource if the resource is marked as sensitive, this way we will not compromise any sensitive data.

    Note: Old data that was already sent to Reporting marked as sensitive will continue to be displayed. Apologies.

New deprecations introduced in this release:

Chef::Platform Helper Methods

run_command Helper Method

Please see the CHANGELOG for the complete list of changes.

Get the Build

As always, you can download binaries directly from or by using the new mixlib-install command line utility available in ChefDK 0.19.6 or greater.

$ mixlib-install download chef -v 12.18.31

Alternatively, you can install Chef using one of the following command options:

# In Shell
$ curl | sudo bash -s -- -P chef -v 12.18.31

# In Windows Powershell
. { iwr -useb } | iex; install -project chef -version 12.18.31