Facter 4.2.1
Released June 2021 and shipped with Puppet7.8.0.
Enhancements
- Add flags to the help menu. This release adds the following short flags
to the help menu:
-v [--version]
,-p [--puppet]
and-h [--help]
. FACT-3044 - Facter retrieves
Ec2
metadata usingIMDSv2
. This release improves the way Facter retrievesec2_metadata
by usingIMDSv2
instead ofIMDSv1
. In this release, Facter automatically usesIMDSv2
to retrieve an AWS token to add to theX-aws-ec2-metadata-token
header. FACT-3042
Resolved issues
- Facter 4 CLI did not accept concatenated
short flags. Facter 3 allowed short flags to be combined,
such as
`-jp`
or-jd
. In Facter 4, you must declare short flags separately, such as-j -p
or-j -d
. FACT-3046 - Ec2 resolver failed because of nil tokens. Facter returned failing Rspec tests if a
token was nil before sending an HTTP request. The HTTP request gathers any
required data to resolve the
Ec2
fact. To solve this issue, Facter now no longer sends HTTP requests if a token is nil.FACT-3050 - Incorrect use of
ffi_lib
on Windows. This release fixes howntdll.dll
was loaded on Windows. FACT-3048