Hey Everyone,
We had some great stuff ready to ship for Chef Infra Client and we just couldn't resist shipping it all so 16.13 is ready for you today. There are some nice new features as well as a new release of Ruby with several bug fixes and 2 CVE fixes.
What's New
Chef InSpec 4.31
Chef InSpec has been updated from 4.29.3 to 4.31.1.
New Features
- Commands can now be set to timeout using the command resource or the
--command-timeout
option in the CLI. Commands timeout by default after one hour. - Added the
--docker-url
CLI option, which can be used to specify the URI to connect to the Docker Engine. - Added support for targeting Linux and Windows containers running on Docker for Windows.
Bug Fixes
- Hash inputs will now be loaded consistently and accessed as strings or symbols. (#5446)
Ubuntu FIPS Support
Our Ubuntu packages are now FIPS compliant for all your FedRAMP needs.
Chef Language Additions
We now include a centos_stream_platform?
helper to determine if your CentOS release is a standard CentOS release or a CentOS Stream release. This helper can be used in attributes files, recipes, and custom resources. Thanks for this new helper @ramereth!
Resource Improvements
dsc_script and dsc_resource
Our PowerShell integration has been improved to better handle failures that were silently occurring when running some DSC code in Chef Infra Client 16.8 and later. Thanks for reporting this problem @jeremyciak!
Platform Support Updates
Ubuntu 16.04 EOL
Packages will no longer be built for Ubuntu 16.04 as Canonical ended maintenance updates on April 30, 2021. See Chef's Platform End-of-Life Policy for more information on when Chef ends support for an OS release.
Improved System Detection
Ohai now includes a new :OsRelease
plugin for Linux hosts that includes the content of /etc/os_release
. This data can be very useful for accurately identifying the Linux distribution that Chef Infra Client is running on. Thanks for this new plugin @ramereth!
Sample :OsRelease
Output
{
"name": "Ubuntu",
"version": "18.04.5 LTS (Bionic Beaver)",
"id": "ubuntu",
"id_like": [
"debian"
],
"pretty_name": "Ubuntu 18.04.5 LTS",
"version_id": "18.04",
"home_url": "https://www.ubuntu.com/",
"support_url": "https://help.ubuntu.com/",
"bug_report_url": "https://bugs.launchpad.net/ubuntu/",
"privacy_policy_url": "https://www.ubuntu.com/legal/terms-and-policies/privacy-policy",
"version_codename": "bionic",
"ubuntu_codename": "bionic"
}
Security
Ruby 2.7.3
Ruby has been updated to 2.7.3, which provides a large number of bug fixes and also resolves the following CVEs:
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.13.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.13.16
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version 16.13.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.13.16
Enjoy,
Tim