Facter 4.2.6
Released December 2021 and shipped with Puppet7.12.0.
We would like to thank the following Puppet community members for their contributions to this release: johanfleury and smortex.
New features
- Add serial number and WWID to disk fact. Added disks serial number and WWID to the disks fact. FACT-3083
Resolved issues
DEBUG Facter::Resolvers::Aix::Mountpoints - Could not resolve mountpoints
when runningfacter mountpoints --debug
on AIX. Fixes Facter AIX mountpoint resolver to add correct data to the mountpoint fact when using NFS mountpoints. FACT-3094os.name
value changed for OS VirtuozzoLinux. Restored Facter3's value ofos.name
for VirtuozzoLinux. FACT-3087- Facter fails if there are invalid
characters in dmidecode. Replaced invalid UTF characters in
dmi.rb
. FACT-3081 - Caching not working for some custom facts. When using
Facter.value(:fact_name)
inside a custom fact, caching did not work properly, as it cached the value from the inner fact instead of the actual fact. Now it correctly caches the required fact, by skipping writing thecachefile
when it is not required. FACT-3079 - Inconsistent values coming from
facter-ng
output. Fixed Facter 4 output for yaml external facts when the fact value is false. FACT-3077 --log-level none
throws exception. Before this release, Facter 4 did not acceptnone
as a log level even though it was supported as per--help
output. This fix aligns the behaviour with Facter 3 by acceptingnone
as a log level. FACT-3074- Facter timezone utf8 problem. This
release adds a new
timezone
resolver specific to Windows which checks the system codepage and uses it for encoding the timezone fact to avoid unwanted characters on non-English OS. FACT-3068