Facter 4.2.5

Released October 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

  • DisplayVersion fact for Windows. This release adds a new fact called os.windows.display_version. This fact reads the version from the DisplayVersion registry key. FACT-3058
  • Option to show HTTP debug logs. This release adds the --http_debug option to the Facter CLI. This option displays the HTTP debug logs. FACT-3047

Resolved issues

  • Mismatched processor frequencies found on AIX. Previously, Facter added all the processors found in the ODM query, without checking their status. Now if the status is not available, Facter skips the processor. FACT-2955
  • Facter API does not resolve custom facts that match legacy facts. Previously, custom facts with names that partially matched core legacy facts were resolved as expected in the Facter CLI, but not when using the API. In these cases, the Facter::FactManager did not resolve custom facts if core or external facts had results. This release adds a new method to check if the user query matches the name of resolved facts, and then decides whether to resolve the custom facts. FACT-3067
  • Inconsistencies with the Facter::Core::Execution.execute timeout. This release fixes inconsistencies with the Facter::Core::Execution.execute arguments between Facter 3 and Facter 4. The .execute method now accepts a timeout option, and warns when unsupported options are passed in. Contributed by Puppet community members johanfleury and smortex. FACT-3073
  • Windows 2022 detected as Windows 2019. The os.release.full and os.release.major facts now correctly detect Windows 2022 and output 2022, instead of 2019. FACT-3075