Facter 1.6.6 is a maintenance release with fixes,
refactoring and packaging improvements.
It includes contributions from the following people: Daniel Pittman,
Jeremy Katz, Josh Cooper, Moses Mendoza
This release is available for download at:
See the Verifying Puppet Download section at:
Please report feedback via the Puppet Labs Redmine site, using an
affected version of 1.6.6:
Full Release Notes at: https://projects.puppetlabs.com/projects/facter/wiki/Wiki
Facter 1.6.6 Release Notes
Support EC2 facts on OpenStack
OpenStack exports an EC2 compatible API, so make the information
available via facts by knowing that OpenStack generates mac addresses
beginning with 02:16:3E
#12666 Make ec2 facts work on CentOS again
Refactoring the ec2 facts lost the support for CentOS where the
hardware address in arp -an is uppercased. Fix and add a unit
test now that there are those
#12362 Use Tempfile to generate temp files
Previously, facter used ENV['TMP'], ENV['TEMP'], /tmp, etc as it's
temp directory search path, using the first one that existed. It then
used constant file names within the temp directory to re-write the
files in ruby's bin directory, and bat wrappers on Windows.
First, it leads to predictable temp file names, which is bad. Second,
when installing facter via a non-interactive ssh shell, e.g.
ssh <host> ruby install.rb
which is what the acceptance test harness does, the TMP and TEMP
environment variables are usually not defined. So facter was always
defaulting to /tmp, which doesn't work when installing facter on
Windows agents during acceptance tests.
This commit just changes the install script to use ruby's Tempfile to
generate secure temp files that works in non-interactive shells.
Facter 1.6.6 Changelog
Daniel Pittman (1):
7d3889d (#12079) Fix order-dependent test failure due to odd stubbing.
Jeremy Katz (3):
cb598aa Support EC2 facts on OpenStack
7f2a0e2 add a simple test for openstack ec2 facts
c273d34 Make ec2 facts work on CentOS again (#12666)
Josh Cooper (1):
c218d84 (#12362) Use Tempfile to generate temp files
Moses Mendoza (2):
5c5c330 Changes apple rake task to reflect package name facter
instead of puppet.
f6bbe14 (#12170) Adds gem spec description