We are delighted to announce the availability of version 18.3.0 of Chef Infra Client.
Improvements
- Reformatted the output of the
knife cookbook list -a -F json
command so it returns a hierarchical JSON object of cookbook versions instead of a flat array. (#13654) Thanks aknarts!
Resource updates
- Added an
options
parameter to the apt_repository resource to set arbitrary options for Apt repositories. (#13728) Thanks, tmccombs!
Resource bug fixes
- Fixed an issue where the homebrew_tap resource on ARM64 (Apple Silicon) machines would not untap a Homebrew tap with the
:untap
action. (#13669). - Fixed an issue where an integer passed to the
program_arguments
property in the launchd resource would cause a kernel panic in launchd because it requires a string. (#13682) Thanks, gbatye! - Fixed an idempotency issue in the zypper_package resource by verifying that the named package is already installed. (#13691) Thanks, ramereth!
- Fixed a bug in the windows_security_policy resource when the user running Chef Infra Client has a space in their username. (#13809) Thanks, jwdean!
- Updated the chocolatey_package resource to handle changes introduced in Chocolatey CLI v2.0. (#13833)
- Fixed a type error in the yum_package resource when the
makecache_fast
property isfalse
. (#13829). Thanks chouetz!
Bug fixes
- Fixed an issue where attributes loaded slowly due to a regression in
net/http
in Ruby 3.1. (#13745) - Fixed an
Invalid Memory object
error when Infra Client runs on Windows. (#13677) - Fixed an issue where
knife bootstrap
would fail using the--sudo
option on EL8 systems. (#13636)
Dependencies
- Bundled
chef-powershell
updated from 18.0.2 to 18.1.0. (Also addresses #13357)
Packaging
- We are now building packages for Rocky Linux 8. (#13867)
Security
- Update OpenSSL to 1.0.2zf to address CVE-2022-2068 and CVE-2022-1292. (#13890)
Get the Build
As always, you can download binaries directly from chef.io/downloads or by using the mixlib-install
command-line utility:
$ mixlib-install download chef -v 18.3.0
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 18.3.0
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex