Chef 14.5.27 Released!


#1

Ohai Chefs!

We're happy to announce the release of Chef v14.5!

Release Highlights

New Resources

We've added new resources to Chef 14.5. Cookbooks using these resources will continue to take precedent until the Chef 15.0 release.

windows_workgroup

Use the windows_workgroup resource to join or change a Windows host workgroup.

See the windows_workgroup documentation for more information.

Thanks @derekgroh for contributing this new resource.

locale

Use the locale resource to set the system's locale.

See the locale documentation for more information.

Thanks @vincentaubert for contributing this new resource.

Updated Resources

windows_ad_join

windows_ad_join now includes a new_hostname property for setting the hostname for the node upon joining the domain.

Thanks @derekgroh for contributing this new property.

InSpec 2.2.102

InSpec has been updated from 2.2.70 to 2.2.102. This new version includes the following improvements:

  • Support for using ERB templating within the .yml files
  • HTTP basic auth support for fetching dependent profiles
  • A new global attributes concept
  • Better error handling with Automate reporting
  • Vendor command now vendors profiles when using path://

Ohai 14.5

Windows Improvements

Detection for the root_group attribute on Windows has been simplified and improved to properly support non-English systems. With this change, we've also deprecated the Ohai::Util::Win32::GroupHelper helper, which is no longer necessary. Thanks to @jugatsu for putting this together.

We've also added a new encryption_status attribute to volumes on Windows. Thanks to @kmf for suggesting this new feature.

Configuration Improvements

The timeout period for communicating with OpenStack metadata servers can now be configured with the openstack_metadata_timeout config option. Thanks to @sawanoboly for this improvement.

Ohai now properly handles relative paths to config files when running on the command line. This means commands like ohai -c ../client.rb will now properly use your config values.

Security updates

Rubyzip

The rubyzip gem has been updated to 1.2.2 to resolve CVE-2018-1000544

Please see the CHANGELOG for the complete list of changes.

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

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

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

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