Released January 26, 2016.
Facter 2.4.6 reverts a change in Facter 2.4.5 that caused breaking behavior for users.
Many users were relying on Facter’s existing behavior in Facter 2.x for returning IP addresses, so this change has been reverted. Users who want to ignore private IP addresses when reporting the
ipadress fact can upgrade to Facter 3.x.
Released January 20, 2016.
Facter 2.4.5 is a bug fix release in the Facter 2.4 series.
Previous versions of Facter 2 reported the IP address of the first interface in alphabetical order in the
ipaddress fact, which wasn’t always desirable as that interface might not have a public IP address. Facter 2.4.5 ignores private IP addresses when reporting the
gidfact is ill-constrained on Windows: Previous versions of Facter 2 would attempt to invoke
id.exeif found on the system. Doing so would cause an error resolving the
gidfact. Facter 2.4.5 and Facter 3 resolve this issue.
Facter::Util::Resolution.which()returns directories, not only executable files: Previous versions of Facter 2 could return a directory if one matches the request in the
PATHenvironment variable before an executable. Facter 2.4.5 resolves this by only returning a matching executable.
systemdslices that changed the cgroup paths. Facter 2.4.5 correctly detects when it is running in a Docker container when using
Released May 20, 2015
Facter 2.4.4 is a bug fix release in the Facter 2.4 series. It also deprecates the
--puppet command line option, since it caused circular load dependencies. To run Facter in Puppet’s context, you should use the
puppet facts command instead.
facter virtualfor Solaris Ldoms
Released April 2, 2015
Facter 2.4.3 is an AIO support release in the Facter 2.4 series that also includes two improvements to performance, and multiple bug fixes.
Changed external facts directory from
/opt/puppetlabs/facter/facts.d on *nix. Windows is unchanged.
Reduced calls to
ip link show for performance.
get_bonding_interface for every possible value, which could have caused performance issues if many interfaces were being used.
Improved the speed of
puppetversion in standalone Facter. There is no notable difference when calling Facter while Puppet is already running. Previously, running Facter with
--timing showed that
puppetversion was by far the slowest fact. This was not true when executed by Puppet, but gave the impression that Puppet is slow.
Facter 2.4.2 was not publicly released, and no packages were provided.
Released February 10, 2015.
Facter 2.4.1 is a security fix release in the Facter 2.4 series. It also fixes one non-security bug.
If an EC2 instance had an IAM (Identity and Access Management) role assigned to it, Facter’s output would include that node’s temporary security credentials, which could be used to perform requests against the AWS APIs. (To use the credentials, an attacker would need to obtain Facter output for that node.)
Since these credentials aren’t meant to leave the node they’re installed on, Facter now filters them out when making facts from EC2 instance data.
These temporary credentials expire relatively quickly and are automatically replaced with new ones. Once they’ve expired, no further remediation should be needed.
When Facter was run as a non-root user, the
virtual fact wasn’t properly detecting machines running under KVM, which could prevent evaluation of other facts (including EC2 data).
Released January 22, 2015.
Facter 2.4.0 is a backward-compatible feature release in the Facter 2 series.
This release has several backend improvements to prepare for Puppet 4.0. It doesn’t add any new facts, but does add a new key to the
partitions fact and improves OS support for a few others.
Puppet 4.0 is coming soon, and Facter needed some changes to keep up. The current plan is that Facter 2.4.0 will be fully compatible with Puppet 4.
The main change is to the filesystem layout: Puppet 4 will change the directories it uses for configuration and synced plugins, and Facter can now use those new directories (as well as the existing Puppet 3 directories). We also updated the
facter --puppet feature to account for some removed code, and made it so Puppet 4 can show Facter’s error and warning messages in its logs.
partitions fact now includes a
label key for each partition. Like this:
partitions: sda1: size: '1953523087' filesystem: ntfs sdb1: size: '2014' label: BIOS boot partition sdb2: uuid: e746c990-fb8d-4449-90ad-c517ccd859f6 size: '204800' mount: /boot label: Linux filesystem filesystem: ext2
This release also improves the
network_<ID> facts on AIX.
This release fixes several bugs with various facts.
Sometimes, tools like Boxen want to load their own collection of external facts from their own directory, and they generally subclass
Facter::Util::DirectoryLoader to do it. The Boxen folk also wanted to set a different weight for facts from that directory, but there wasn’t a way to do that. Now there is, by passing an optional weight argument to that class’s initializer.