Hey Everyone,
We have a new release of Chef Infra Client 16 out today packed with new features we hope you enjoy.
Improved Linux Network Detection
On Linux systems, Chef Infra Client now detects all installed NICs on systems with more than 10 interfaces and will populate Ethernet pause frame information if present. Thanks for these improvements @kuba-moo and @Babar!
AWS Instance Metadata Service Version 2 (IMDSv2) support
Chef Infra Client now supports the latest generation of AWS metadata services (IMDSv2). This allows you to secure the contents of the metadata endpoint while still exposing this data for use in Chef Infra cookbooks. Thanks for this new functionality @wilkosz and @sawanoboly!
Improved AWS Metadata Gathering
On AWS instances, we now gather data from the latest metadata API versions, exposing new AWS instance information for use in Infra Cookbooks:
- elastic-gpus/associations/elastic-gpu-id
- elastic-inference/associations/eia-id
- events/maintenance/history
- events/maintenance/scheduled
- events/recommendations/rebalance
- instance-life-cycle
- network/interfaces/macs/mac/network-card-index
- placement/availability-zone-id
- placement/group-name
- placement/host-id
- placement/partition-number
- placement/region
- spot/instance-action
Alma Linux Support
Chef Infra Client now maps Alma Linux to the rhel
platform_family
value. Alma Linux is a new open-source RHEL fork produced by the CloudLinux team.
We've also added support for testing cookbooks on Alma Linux with new Alma Linux 8 Vagrant Images for use in Test Kitchen on VirtualBox, Parallels, and VMware. You can use these images today in Test Kitchen by specifying this new box in your config as follows:
platforms:
- name: almalinux-8
driver:
box: bento/almalinux-8
Note: In the upcoming release of Chef Workstation, you'll be able to skip the box
config and Test Kitchen will automatically map almalinux-8
to the appropriate Vagrant image.
Knife Bootstrapping Without Sudo
The knife boostrap
command now supports elevating privileges on systems without sudo
by using the su
command instead. Use the new --su-user
and --su-password
flags to specify credentials for su
.
Resource Updates
dnf_package
The dnf_package
has been updated to maintain idempotency when using the :upgrade
action when the RPM release "number" contains a dot (.
).
windows_certificate
The windows_certificate
resource now honors the user_store
property to manage certificates in the User store instead of the System store.
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.10.8
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.10.8
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version 16.10.8
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.10.8
Enjoy,
Tim