Facter 4.4.1
Released June 2023 and shipped with Puppet8.1.0.
Resolved issues
- Facter on Solaris 10 leak file descriptors, causing Puppet run failures.Facter no longer leaks file descriptors when attempting to resolve network interfaces. FACT-3196
- Facts with regular expression matching characters in the name of the fact cause Facter 4 to crash. Previously, regex metacharacters were not escaped when parsing names. The fix for FACT-3178 also fixed this issue. FACT-3199
- Facter trying to resolve augeas version on Windows.Facter no longer tries to resolve the augeas fact on Windows since augeas packages and gems are not shipped for any Windows platforms for Puppet agent packages. FACT-3197
facter -p --no-external-facts
is unusable.Facter no longer raises when run with the-p
and--no-external-facts
option. Previously, this occurred because Facter thought the--external-dir
option (which cannot be used with--no-external-facts
) was also passed in.- Facter mixes up Oracle Linux and Red Hat.
os.distro.description
andos.distro.id
facts were previously misreporting Oracle Linux as Red HatLinux, fixed now. FACT-3180 - Facter
ldom.domainrole.impl
fails on Solaris 11, SPARC. Now, when Facter searches for a fact that matches the user query, regex metacharacters, like dots (.), are escaped. Previously, metacharacters were not escaped which resulted in a regex that compared fact names to the user query to resolve and return the wrong fact. FACT-3178 - Networking facts on AIX incomplete if network device is in down state. On AIX, if the network was in down state, Facter errored out. Now Facter correctly resolves the network information. FACT-3167
- Facter fails on the
/etc/os-release
that contains the#
./etc/os-release
files can have comments (#
) without raising an error. Comments are allowed in these files according to: https://www.man7.org/linux/man-pages/man5/os-release.5.html. FACT-3151 gce.project.attributes.sshKeys
is a string instead of an array.Facter 4 now correctly returns the value of thegce.project.attributes.sshKeys
fact as an array of strings as it did in Facter 3. FACT-3136- Processor ISA fact on Linux reports wrong
data if the string contains a period.Facter no longer modifies
uname -p
output when reporting theprocessors.isa
fact on Linux platforms. FACT-3089 - Facter 4 fails to guard against
recursion.Facter 3 guarded against recursive calls to
facter
inside external facts; this has now been added to Facter 4. If an external fact calls out tofacter
without specifying theno-external-facts
, Facter warns the user and skips falling into callingfacter
recursively. FACT-2772