These are the new features, resolved issues, and deprecations in this version of Facter.
Facter 3.14.12
Released 14 July 2020 and shipped with Puppet Platform 6.17.0.
Resolved issues
The facter -p
command returns NUL character on
stdout when called from nested ruby on Windows. This
release fixes an issue where Facter executed a system
command using back ticks when called from Ruby. FACT-2682
Facter 3.14.11
Released 3 June 2020 and shipped with Puppet Platform 6.16.0.
This release includes minor maintenance changes. For the latest features, see the release notes for Facter 3.14.10 .
Facter 3.14.10
Released 30 April 2020 and shipped with Puppet Platform 6.15.0.
New features
cached-custom-facts
has moved to a new
section in `facter.conf`. This release moves `cached-custom-facts` to a new
section in the`facter.conf` file, called `fact-groups`. FACT-2544
New ability to cache and block the output of custom facts. This
release allows you to cache custom facts based on the facter.conf
file. Custom facts defined in facter.conf
under Facts.cached-custom-facts
can be cached, depending on the ttl
defined under Facts.ttls
. FACT-1575
Resolved issues
AIX kernel resolver redirects stderr
to
stdout
and breaks facts on OS errors.
Previously, when the oslevel -s
command is executed
on AIX, redirects stderr
to /dev/null
were shown on stderr
and the
kernel
fact broke. This is now fixed. FACT-2545
Not compatible with leatherman >= 1.0.0. This release adds a compile guard so that Facter can compile with older Leatherman versions. FACT-2537
No resolver for external facts file error for os-specific facts. Previously, when os-specific facts were not resolved, Puppet logged a warning. The release lowers the severity of the logged messages to debug. FACT-2489
Incorrect log format on non-executable external fact scripts. Previously, if an external fact script could not be executed, the Facter log did not indicate what happened and the error output format was incorrect. This is now fixed. FACT-2618
Facter 3.14.9
Facter 3.14.8
Released 18 February 2020 and shipped with Puppet Platform 6.13.0.
New features
Resolved issues
- The
facter --puppet
command no longer throws a deprecation warning. (FACT-2260)
Facter 3.14.7
Released 14 January 2020 and shipped with Puppet Platform 6.12.0.
New features
- Facter command execution now accepts a
Boolean parameter,
expand
. By default, Facter searches the command and expands it to absolute path. Whenexpand
is set to false, Facter verifies whether the command is a shell command and, if so, passes the command as is. FACT-2054
Resolved issues
- Facter incorrectly reported disabled CPU cores as physical CPU cores. Now, Facter correctly reports physical and logical CPUs and ignores disabled CPUs. FACT-1824
- In previous versions, Facter could not always determine the primary network interface on Solaris, so it sometimes failed to return any valid interface. This is now fixed. FACT-2146
- In systems using Windows Remote Desktop Services (RDS), Facter returned an incorrect operating system fact. This was due to a Windows API deprecation that caused issues in mixed 32- and 64-bit application environments, such as RDS. FACT-2096
- Facter now takes the root-reserved space into account when reporting mountpoints. Contributed by Valia0906. FACT-2128
Facter 3.14.6
Released 19 November 2019 and shipped with Puppet Platform 6.11.0.
New features
- This release adds support for the
fips_enabled
fact on Windows. The check examines the contents ofHKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Lsa/FipsAlgorithmPolicy/Enabled
. If the returned value is 1, it means that FIPS mode is enabled. FACT-2065 - Facter can now return the new
scope6
fact to display IPv6 address scope. FACT-2016
Resolved issues
- In previous releases, Facter did not report
the
cloud
fact on Azure. This issue is now fixed. FACT-2004
Facter 3.14.5
Released 1 October 2019 and shipped with Puppet Platform 6.10.0.
Resolved issues
-
Google Compute Engine's internal metadata service is deprecating the
v1beta1
endpoint sometime before the end of 2019. To prepare for this, Facter now uses thev1
endpoint instead. FACT-2018 - When Facter starts a
mountpoint to get the size and available space, it causes mountpoints of
type
autofs
to be automatically mounted, which is not the intended behavior. Automounts are now skipped by Facter when resolving mountpoints. FACT-1992
Facter 3.14.4
Released 17 September 2019 and shipped with Puppet Platform 6.9.0.
Resolved issues
This release makes the EC2 session timeout, in milliseconds,
configurable via the EC2_SESSION_TIMEOUT
environment variable. If the environment variable does not
exist or is set to an invalid value, Facter defaults the
variable to 5000 (5 seconds). FACT-1919
Facter 3.14.3
Released 21 August 2019 and shipped with Puppet Platform 6.8.0.
New features
nim_type
, which
returns the type of the NIM configuration. This fact returns a value of: - 'master'
- 'standalone'
- if '/etc/niminfo' is missing, no value is returned.
Resolved issues
- The previous version of Facter could not be compiled on the latest Archlinux version. This release fixes this issue by unpinning gem dependencies for Ruby spec tests so they work regardless of gem versions. and enabling detection of the optional UDEV library on Linux, which provides a serial number fact for disks. FACT-1968
- On Linux, if multiple mountpoints are
mounted on the same directory, Facter showed only the first
one retrieved from
/etc/mtab
. Now Facter shows the mountpoint that is a device or is the "tmpfs" type. FACT-1964 - Prior to this release, when you ran
facter ipaddress6
on Windows servers, Facter returned the IPv6 with the interface identifier. This was caused by a Windows function that retrieves ipaddress6 together with the interface identifier. Now it correctly returns only the ipaddress6 without the interface id. This also fixes the network6 fact, which also returned network6 together with the interface identifier. FACT-1935 - The
dmi
fact did not return the chassis type. Facter now resolves the following DMI chassis descriptions for:- "25" - "Multi-system"
- "26" - "CompactPCI"
- "27" - "AdvancedTCA"
- "28" - "Blade"
- "29" - "Blade Enclosure"
- "30" - "Tablet"
- "31" - "Convertible"
- "32" - "Detachable"
Facter 3.14.2
Released 23 July 2019 and shipped with Puppet Platform 6.7.0.
Resolved issues
- Prior to this release, Facter
returned warnings if
ip route show
output was not in a key-value format. Because this format does not apply to all configurations, Facter no longer returns warnings about it. FACT-1916 - Previously, the
mountpoint
fact showed only temporary file systems and physical mounts. Now Facter returns mount points for all mounts on the system. FACT-1910
Facter 3.14.1
Released 1 July 2019 and shipped with Puppet Platform 6.6.0.
New features
- Facter now report disk serial numbers on Linux and FreeBSD FACT-1929
- This release adds a primary network interface check for FreeBSD. FACT-1926
- Previously, the
mountpoint
fact showed only temporary file systems and physical mounts. Now Facter returns mount points for all mounts on the system. FACT-1910 - This release adds support for Virtuzzo Linux facts. FACT-1888
Facter 3.14.0
Released 19 June 2019 and shipped with Puppet Platform 6.5.0
New features
ReleaseID
: The four-digit Windows build version, in the formYYMM
. On Windows10-1511-x86_64, the release ID is not displayed, as is not present in the registry.InstallationType
: Differentiates Server, Server Core, Client (Desktop):Server|Server Core|Client
.EditionID
: Server or Desktop Edition variant:ServerStandard|Professional|Enterprise
.ProductName
: Textual Product Name.
Facter 3.13.1
Released 26 March 2019 and shipped with Puppet Platform 6.4.0
Resolved issues
-
This release fixes an issue where the
dhcp
fact failed on Red Hat 8 (beta). Because Red Hat 8 is a beta version, not all functions are verified to work correctly. FACT-1906
Facter 3.13.0
Released 20 February 2019 and shipped with Puppet Platform 6.3.0
Resolved issues
-
Previously, Facter incorrectly reported operating system facts (such as
os.name
andos.release
) on Ubuntu systems that did not have thelsb_release
executable. Operating system facts are now resolved without relying onlsb_release
. FACT-1899
Facter 3.12.3
Released 24 January 2019 and shipped with Puppet Platform 6.2.0.
Resolved issues
- Facter now returns the correct path
to
system32
on 64-bit systems where thesysnative
folder has been created manually. FACT-1900
Facter 3.12.2
Released 18 December 2018 and shipped with Puppet Platform 6.1.0.
Resolved issues
-
Previously, if you had multiple custom versions of a built-in fact, and only those with a weight of 0 could resolve, Facter used those zero-weighted values. Now, if only zero-weighted custom facts resolve, Facter uses built-in fact values instead. (FACT-1873)
Facter 3.12.1
Released 6.1.0 and shipped with Puppet Platform 18 December 2018.
New features
- Facter now correctly distinguishes between Windows Server 2016 and Windows Server 2019. FACT-1889
Facter 3.12.0
Released 18 September 2018 and shipped with Puppet Platform 6.0.0
New features
-
Key type is now included as part of the facts for each SSH key. (FACT-1377)
Resolved issues
-
Systems relying entirely on
systemd-networkd
for DHCP management do not usedhclient
. This checks the DHCP leases directory ofsystemd-networkd
(/run/systemd/netif/leases
) in addition to the lease files ofdhclient
when attempting to identify DHCP servers. (FACT-1851) -
Facter no longer checks for missing
dmidecode
and does not report a warning when it’s missing on POWER Linux machines. (FACT-1765 and FACT-1763)