Chef Infra Client 16.9.16 Released!

Hey folks,

We have a great new Chef Infra Client release today. Not only does this release have a perfect version number, but it also has some nice improvements to core resources and knife.

Knife Improvements

  • The knife bootstrap command now properly formats the trusted_certs_dir configuration value on Windows hosts. Thanks for this fix @axelrtgs!
  • The knife bootstrap command now only specifies the ssh option -o IdentitiesOnly=yes if keys are present. Thanks for this fix @drbrain!
  • The knife status command with the -F json flag no longer fails if cloud nodes have no public IP.

Updated Resources

cron_d

The cron_d resource now respects the use of the sensitive property. Thanks for this fix @axl89!

dnf

The dnf resource has received a large number of improvements to provide improved idempotency and to better handle uses of the version and arch properties. Thanks for reporting these issues @epilatow and @Blorpy!

homebrew_cask

The homebrew_cask resource has been updated to work with the latest command syntax requirements in the brew command. Thanks for reporting this issue @bcg62!

locale

The allowed execution time for the locale-gen command in the locale resource has been extended to 1800 seconds to make sure the Chef Infra Client run doesn't fail before the command completes on slower systems. Thanks for reporting this issue @janskarvall!

plist / macosx_service / osx_profile / macos_userdefaults

Parsing of plist files has been improved in the plist, macosx_service, osx_profile, and macos_userdefaults resources thanks to updates to the plist gem by @reitermarkus and @tboyko.

user

The user resource on Windows hosts now properly handles uid values passed as strings instead of integers. Thanks for reporting this issue @jaymzh!

yum_repostiory

The yum_repository resource has been updated with a new reposdir property to control the path where the Yum repository configuration files will be written. Thanks for suggesting this @wildcrazyman!

Security

  • The bundled Nokogiri Ruby gem has been updated to resolve CVE-2020-26247.

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 16.9.16

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 16.9.16

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

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: 16.9.16

Enjoy,
Tim

Unofficial 16.9.16 32-bit Arm builds with instructions are available here: 32-bit Arm Chef Infra and Cinc Client Builds for Linux