Chef Infra Client 14.13.11 Released!

Hey Everyone,

We have a great new release of Chef 14 out with some nice fixes and improvements.

Updated Resources

directory

The directory has been updated to properly set the deny_rights permission on Windows. Thanks @merlinjim for reporting this issue.

service

The service resource is now idempotent on SLES 11 systems. Thanks @gsingla294 for reporting this issue.

cron

The cron resource has been updated to advise users to use the specify properties rather than passsing values in as part of the environment property. This avoids a situation where a user could pass the differing values in both locations and receive unexpected results.

link

The link resource includes improved logging upon failure to help you debug what has failed. Thanks @jaymzh for this improvement.

template

The template resource now includes additional information when templating failures, which is particularly useful in ChefSpec. Thanks @brodock for this improvement.

delete_resource Fix

The delete_resource helper now works properly when the resource you are attempting to delete has multiple providers. Thanks @artem-sidorenko for this fix.

Helpers Help Everywhere

Various helpers have been moved into Chef Infra Client's universal class, which makes them available anywhere in your cookbook, not just recipes. If you've ever been confused why something like search, powershell_out, or data_bag_item didn't work somewhere in your code, that should be resolved now.

Deprecations

The CHEF-25 deprecation for resource collisions between cookbooks and resources in Chef Infra Client has been removed. Instead you will see a log warning that a collision has occurred, which advises you to update your run_list or cookbooks.

Updated Components

  • openssl 1.0.2r -> 1.0.2s (bugfix only release)
  • cacerts 2019-01-23 -> 2019-05-15

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 14.13.11

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.13.11

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

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

Enjoy,
Tim

If you want 32-bit ARM builds for Raspbian, Debian or CentOS there are packages and instructions available here: https://mattray.github.io/2019/06/03/chef-14-on-arm.html

Enjoy,
Matt