Chef Client 14.1 Released!

Ohai Chefs!

We’re happy to announce the release of Chef v14.1!

Release Highlights

Windows Task

The windows_task resource has been entirely rewritten. This resolves a
large number of bugs, including being able to correctly set the start
time of tasks, proper creation and deletion of tasks, and improves
Chef’s validation of tasks. The rewrite will also solve the idempotency
problems that users have reported.

Ubuntu 18.04

We’re now testing Chef on Ubuntu 18.04, which means that downloads are available there too!

build_essential

The build_essential resource no longer requires a name, similar to the apt_update resource.

Ignore Failure

The ignore_failure property takes a new argument, :quiet, to
suppress the error output when the resource does in fact fail.

This release of Chef Client 14 resolves a number of regressions in 14.0

  • On Windows, the installer now correctly re-extracts files during repair mode
  • Fix a number of issues relating to use with Red Hat Satellite
  • Git fetch now prunes remotes before running
  • Fix locking and unlocking packages with apt and zypper
  • Ensure we don’t request every remote file when running with lazy loading enabled
  • The sysctl resource correctly handles missing keys when used with ignore_error
  • –recipe-url apparently never worked on Windows with local files. Now it does.

Ohai Release Notes 14.1:

Configurable DMI Whitelist

The whitelist of DMI IDs is now user configurable using the
additional_dmi_ids configuration setting, which takes an Array.

Shard plugin

The Shard plugin has been returned to a default plugin rather than an
optional one. To ensure we work in FIPS environments, the plugin will
use SHA256 rather than MD5 in those environments.

SCSI plugin

A new plugin to enumerate SCSI devices has been added. This plugin is optional.

Get the Build

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

$ mixlib-install download chef -v 14.1.1

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

# In Shell
$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v 14.1.1

# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version 14.1.1

ARM build here: https://leastresistance.wordpress.com/2018/04/04/chef-14-arm-on-the-beaglebone-black/