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 jsoncommand so it returns a hierarchical JSON object of cookbook versions instead of a flat array. (#13654) Thanks aknarts!
Resource updates
- Added an
optionsparameter 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
:untapaction. (#13669). - Fixed an issue where an integer passed to the
program_argumentsproperty 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_fastproperty isfalse. (#13829). Thanks chouetz!
Bug fixes
- Fixed an issue where attributes loaded slowly due to a regression in
net/httpin Ruby 3.1. (#13745) - Fixed an
Invalid Memory objecterror when Infra Client runs on Windows. (#13677) - Fixed an issue where
knife bootstrapwould fail using the--sudooption on EL8 systems. (#13636)
Dependencies
- Bundled
chef-powershellupdated 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