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::PSCredentialto 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_repositoryresource, we added thesigned_byproperty.If set to
trueand 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_keyresource, we added theonly_record_changesoption, which suppresses the reporting of the current value of sibling values in a registry key. The default value istrue.
(#14883) -
In the
dnf_packageresource, we fixed the:removeaction in cases where a package is version locked.
Previously,:removewould 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
quietattribute 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 bootstrapin 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-logto >= 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
ffigem to be no later than 1.17.0. (#14809)
Bundled dependencies
- Bundled
ohaiupdated from18.2.4to18.2.5. - Bundled
ffi (~> 1.9)replaced withffi (~> 1.9, <= 1.17.0). - Bundled
activesupport (7.0.8.7). - Bundled
aws-partitionsupdated from1.981.0to1.1048.0. - Bundled
aws-sdk-coreupdated from3.209.1to3.218.1. - Bundled
aws-sdk-kmsupdated from1.94.0to1.98.0. - Bundled
aws-sdk-s3updated from1.166.0to1.180.0. - Bundled
aws-sdk-secretsmanagerupdated from1.108.0to1.112.0. - Bundled
aws-sigv4updated from1.10.0to1.11.0. - Bundled
bigdecimalupdated from3.1.8to3.1.9. - Bundled
gyoku (1.4.0)replaced withchef-gyoku (1.4.1). - Bundled
chef-zeroupdated from15.0.11to15.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
cheffishupdated from17.1.7to17.1.8. - Bundled
concurrent-rubyupdated from1.3.4to1.3.5. - Bundled
dateupdated from3.3.4to3.4.1. - Bundled
erubiupdated from1.13.0to1.13.1. - Bundled
faradayupdated from2.12.0to2.12.2. - Bundled
faraday-net_httpupdated from3.3.0to3.4.0. - Bundled
http-cookieupdated from1.0.7to1.0.8. - Bundled
i18n (1.14.7). - Bundled
inspec-coreupdated from5.22.58to5.22.72. - Bundled
inspec-core-binupdated from5.22.58to5.22.72. - Bundled
jsonupdated from2.7.2to2.10.0. - Bundled
mime-typesupdated from3.5.2to3.6.0. - Bundled
mime-types-dataupdated from3.2024.0903to3.2025.0204. - Bundled
mime-typesupdated from3.5.2to3.6.0. - Bundled
minitest (5.25.5). - Bundled
mixlib-logupdated from3.0.9to3.1.1. - Bundled
mixlib-shelloutupdated from3.2.8to3.3.6. - Bundled
net-ftpupdated from0.3.7to0.3.8. - Bundled
net-httpupdated from0.4.1to0.6.0. - Bundled
net-scpupdated from4.0.0to4.1.0. - Bundled
net-sshupdated from7.2.3to7.3.0. - Bundled
noriupdated from2.7.1to2.7.0. - Bundled
parserupdated from3.3.5.0to3.3.7.1. - Bundled
plistupdated from3.7.1to3.7.2. - Bundled
rackupdated from2.2.9to3.1.12. - Removed
psych (4.0.2). - Bundled
regexp_parser (2.10.0). - Bundled
rspec-itsupdated from1.3.0to1.3.1. - Bundled
rubocop-astupdated from1.32.3to1.38.0. - Bundled
rubyzipupdated from2.3.2to2.4.1. - Bundled
rubyzipupdated from2.3.2to2.4.1. - Removed
stringio (3.0.1.1). - Bundled
timeupdated from0.4.0to0.4.1. - Bundled
timeoutupdated from0.4.1to0.4.3. - Bundled
train-winrmupdated from0.2.13to0.2.17. - Bundled
tzinfo (2.0.6). - Bundled
uriupdated from0.13.1to1.0.2. - Bundled
webmockupdated from3.23.1to3.25.0. - Bundled
webrickupdated from1.8.2to1.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