Chef Infra Client 15.6.10 Released!

Hey folks,

We have a new release of Chef Infra Client 15 out this week with updated resources, improved performance, and a smaller footprint on disk. Give it a try!

Updated Resources

apt_repository

The apt_repository resource now properly escapes repository URIs instead of quoting them. This prevents failures when using the apt-file command, which was unable to parse the quoted URIs. Thanks for reporting this @Seb-Solon

file

The file resource now shows the output of any failures when running commands specified in the verify property. This means you can more easily validate config files before potentially writing an incorrect file to disk. Chef Infra Client will shellout to any specified command and will show the results of failures for further troubleshooting.

user

The user resource on Linux systems now continues successfully when usermod returns an exit code of 12. Exit code 12 occurs when a user's home directory is changed and the underlying directory already exists. Thanks @skippyj for this fix.

yum_repository

The yum_repository now properly formats the repository configuration when multiple baseurl values are present. Thanks @bugok for this fix.

Performance Improvements

This release of Chef Infra Client ships with several optimizations to our Ruby installation to improve the performance of loading the chef-client and knife commands. These improvements are particularly noticeable on non-SSD hosts and on Windows.

Smaller Install Footprint

We've further optimized our install footprint and reduced the size of /opt/chef by ~7% by removing unnecessary test files and libraries that shipped in previous releases.

filesystem2 Ohai Data on Windows

Ohai 15.6 includes new node['filesystem2'] data on Windows hosts. Fileystem2 presents filesystem data by both mount point and by device name. This data structure matches that of the filesystem plugin on Linux and other *nix operating systems. Thanks @jaymzh for this new data structure.

Get the Build

As always, you can download binaries directly from downloads.chef.io or by using the mixlib-install command-line utility:

$ mixlib-install download chef -v 15.6.10

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

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

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

If you want to give this version a spin in Test Kitchen, create or add the following to your kitchen.yml file:

provisioner:
  product_name: chef
  product_version: 15.6.10

Enjoy,
Tim

You can download/make your own Chef Infra Client 15.6.10 builds for CentOS, Debian and Raspbian on 32-bit ARM here: https://mattray.github.io/2019/12/17/chef-15-on-arm.html

Be sure to check out the LEDs Handler cookbook if you're using Raspberry Pis: https://github.com/mattray/leds_handler-cookbook

Enjoy!