We are delighted to announce the availability of version 18.7.3 of Chef Infra Client.
Release date: March 31, 2025
Security
- Updated REXML to 3.4.0 to address CVE-2024-49761. (#14823)
Improvements
- Updated
Chef::Util::Powershell::PSCredential
to avoid leaking credentials as plaintext in resources. (#14897) - Improved performance when fetching remote cookbooks using
Chef::Cookbook::RemoteFileVendor
. Thanks @dafyddcrosby! (#14829)
Resource improvements
-
In the
apt_repository
resource, we added thesigned_by
property.If set to
true
and a key is supplied, apt_repository uses the key in the Signed-By option to verify the authenticity of packages.
If set to a string, apt_repository passes it to the Signed-By option.The default value is
true
. -
In the
registry_key
resource, we added theonly_record_changes
option, which suppresses the reporting of the current value of sibling values in a registry key. The default value istrue
.
(#14883) -
In the
dnf_package
resource, we fixed the:remove
action in cases where a package is version locked.
Previously,:remove
would attempt to uninstall the package manager if the specified package is version locked. Thanks @vmagro! (#14821)
Licensing
- We updated the Chef licensing warning message with more information. (#14795)
Compliance phase
- Updated Chef Inspec to v5.22.72. (#14841)
- The
quiet
attribute in Compliance Phase now correctly suppresses CLI output when set totrue
. (#14817)
Bug Fixes
- We fixed an error where the Windows Chef Infra Client Habitat package stated that Microsoft Visual C++ is missing and is a required dependency. (#14906)
- We fixed a licensing issue when running
knife bootstrap
in air-gapped environments. If a Chef Local Licensing Service or license isn't set, it would attempt to connect to Chef's licensing server and return an error instead of a warning. (#14777) - We fixed a "No such file or directory" error when Chef Infra Client is installed as a gem on Windows. (#14780)
Packages
- We no longer build packages for macOS 11 Big Sur. (#14782)
Dependency updates
- Pinned
mixlib-log
to >= 2.0.3, <= 3.1.1. (#14905) - Updated Chef Zero to 15.0.17. (#14904)
- Updated Chef Foundation to v3.2.15. (#14907)
- Removed the RDoc pin for ~> 6.4.1 since Ruby 3.1.6 already has the updated version. (#14857)
- Updated Train-WinRM to ~> 0.2.17. (#14842)
- Limit
ffi
gem to be no later than 1.17.0. (#14809)
Bundled dependencies
- Bundled
ohai
updated from18.2.4
to18.2.5
. - Bundled
ffi (~> 1.9)
replaced withffi (~> 1.9, <= 1.17.0)
. - Bundled
activesupport (7.0.8.7)
. - Bundled
aws-partitions
updated from1.981.0
to1.1048.0
. - Bundled
aws-sdk-core
updated from3.209.1
to3.218.1
. - Bundled
aws-sdk-kms
updated from1.94.0
to1.98.0
. - Bundled
aws-sdk-s3
updated from1.166.0
to1.180.0
. - Bundled
aws-sdk-secretsmanager
updated from1.108.0
to1.112.0
. - Bundled
aws-sigv4
updated from1.10.0
to1.11.0
. - Bundled
bigdecimal
updated from3.1.8
to3.1.9
. - Bundled
gyoku (1.4.0)
replaced withchef-gyoku (1.4.1)
. - Bundled
chef-zero
updated from15.0.11
to15.0.17
. - Bundled
winrm (2.3.9)
replaced withchef-winrm (2.3.11)
. - Bundled
winrm-elevated (1.2.3)
replaced withchef-winrm-elevated (1.2.5)
. - Bundled
winrm-fs (1.3.5)
replaced withchef-winrm-fs (1.3.7)
. - Bundled
cheffish
updated from17.1.7
to17.1.8
. - Bundled
concurrent-ruby
updated from1.3.4
to1.3.5
. - Bundled
date
updated from3.3.4
to3.4.1
. - Bundled
erubi
updated from1.13.0
to1.13.1
. - Bundled
faraday
updated from2.12.0
to2.12.2
. - Bundled
faraday-net_http
updated from3.3.0
to3.4.0
. - Bundled
http-cookie
updated from1.0.7
to1.0.8
. - Bundled
i18n (1.14.7)
. - Bundled
inspec-core
updated from5.22.58
to5.22.72
. - Bundled
inspec-core-bin
updated from5.22.58
to5.22.72
. - Bundled
json
updated from2.7.2
to2.10.0
. - Bundled
mime-types
updated from3.5.2
to3.6.0
. - Bundled
mime-types-data
updated from3.2024.0903
to3.2025.0204
. - Bundled
mime-types
updated from3.5.2
to3.6.0
. - Bundled
minitest (5.25.5)
. - Bundled
mixlib-log
updated from3.0.9
to3.1.1
. - Bundled
mixlib-shellout
updated from3.2.8
to3.3.6
. - Bundled
net-ftp
updated from0.3.7
to0.3.8
. - Bundled
net-http
updated from0.4.1
to0.6.0
. - Bundled
net-scp
updated from4.0.0
to4.1.0
. - Bundled
net-ssh
updated from7.2.3
to7.3.0
. - Bundled
nori
updated from2.7.1
to2.7.0
. - Bundled
parser
updated from3.3.5.0
to3.3.7.1
. - Bundled
plist
updated from3.7.1
to3.7.2
. - Bundled
rack
updated from2.2.9
to3.1.12
. - Removed
psych (4.0.2)
. - Bundled
regexp_parser (2.10.0)
. - Bundled
rspec-its
updated from1.3.0
to1.3.1
. - Bundled
rubocop-ast
updated from1.32.3
to1.38.0
. - Bundled
rubyzip
updated from2.3.2
to2.4.1
. - Bundled
rubyzip
updated from2.3.2
to2.4.1
. - Removed
stringio (3.0.1.1)
. - Bundled
time
updated from0.4.0
to0.4.1
. - Bundled
timeout
updated from0.4.1
to0.4.3
. - Bundled
train-winrm
updated from0.2.13
to0.2.17
. - Bundled
tzinfo (2.0.6)
. - Bundled
uri
updated from0.13.1
to1.0.2
. - Bundled
webmock
updated from3.23.1
to3.25.0
. - Bundled
webrick
updated from1.8.2
to1.9.1
.
Get the Build
As always, you can download binaries from chef.io/downloads or by using the mixlib-install
command-line utility:
$ mixlib-install download chef -v 18.7.3
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.7.3
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex