Announce: Facter 2.0.1-rc2 Now Available.

20 views
Skip to first unread message

Ryan McKern

unread,
Mar 12, 2014, 8:32:22 PM3/12/14
to puppe...@googlegroups.com

Facter 2.0.1-rc2

Pre-release RC2: March 12, 2014.


Facter 2.0.1-rc2 Downloads

Source: https://downloads.puppetlabs.com/facter/facter-2.0.1-rc2.tar.gz

Available in native package format in the pre-release repositories at: http://yum.puppetlabs.com and http://apt.puppetlabs.com

For information on how to enable the Puppet Labs pre-release repos, see: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#enabling-the-prerelease-repos

Gems are available via rubygems at https://rubygems.org/downloads/facter-2.0.1.rc2.gem or by using
gem install --pre facter

Mac packages are available at https://downloads.puppetlabs.com/mac/facter-2.0.1-rc2.dmg

Please report feedback via the Puppet Labs tickets site, using an affected facter version of 2.0.1-rc2: https://tickets.puppetlabs.com/browse/FACT


Release Candidate:
Facter 2.0.1 is not yet released. It entered RC 2 on March 12, 2014.
Facter 2.0.1 is the first release in the Facter 2 series. (See the note below about Facter 2.0.0.)


Features

FACT-134: Perform basic sanity checks on Facter output

Facter now does sanity checking on the output of facts. Facter previously assumed that all facts would be of type String but did not enforce this; Facter now validates that facts are one of (Integer, Float, TrueClass, FalseClass, NilClass, String, Array, Hash).

FACT-237: Allow fact resolutions to be built up piece-wise

FACT-239: Expose different resolution types in DSL

Introduces aggregate resolutions for facts. Aggregate resolutions allow facts to be extended at runtime and provide a simplified way of building up complex fact values.

FACT-341: Windows operatingsystemrelease support

On Windows, the operatingsystemrelease fact now returns XP,2003, 2003 R2, Vista, 2008, 7, 2008 R2, 8, or 2012, depending on the version reportedy by WMI.


Improvements

FACT-94: Unvendor CFPropertyList

Removes vendored code for CFPropertyList in favor of treating it as a separate dependency and managing it with Rubygems.

FACT-163: Fact loading logic is overly complicated

In Facter 1.x the fact search path would be recursively loaded, but only when using Facter via the command line. In Facter 2.0 only fact files at the top level of the search path will be loaded, which matches the behavior when loading facts with Puppet.

FACT-266: Backport Facter::Util::Confine improvements to Facter 2

Adds several improvements to Facter::Util::Confine, including the ability to confine a fact to a block.

FACT-321: Remove deprecated code for 2.0

Code that had previously been marked deprecated has now been removed.

FACT-322: Remove special casing of the empty string

Previous versions of Facter would interpret an empty string (and only an empty string) as nil. Now that facts can return more than just strings (i.e., they can directly return nil), empty strings no longer have this special case.

FACT-186: Build Windows-specific gem

Adds Windows-specific gem dependencies for Facter 2.

FACT-194: Merge external facts support to Facter 2

Adds pluginsync support for external facts to Facter 2.

FACT-207: Remove deprecated ldapname

Removes all instances of ldapname, completing its deprecation.

FACT-242: Remove Fedora 18 from default build targets

Fedora 18 has reached end-of-life and will no longer be supported. This release removes F18 as a build target.

FACT-272: Update Facter man page for 2.0

The man page for Facter 2 now includes the new command line options.

FACT-342: Add Ubuntu 14.04 (Trusty Tahr) support

This release adds spec and accceptance tests for Ubuntu 14.04, also known as Trusty Tahr.


Bug Fixes

FACT-202: Fix undefined path in macaddress.rb

One of the possible resolutions for the macaddress fact would incorrectly return nil. This release fixes the bug.

FACT-351: undefined method 'ipaddress' for Facter:Module

This bug would cause the netmask fact to fail on Darwin under some circumstances. This release fixes the bug.

FACT-357: lsb facts return the empty string when undefined

FACT-357: vlan fact returns the empty string when undefined

These two bugs were caused by FACT-322 (remove special casing of the empty string). Previous versions of facter would ignore facts that returned "", and the LSB and VLAN facts depended on this behavior to ensure that they wouldn't appear on systems where they weren't relevant. Once the special casing of the empty string was removed in Facter 2.0.1, facts that returned "" would show up in facter's output as "", rather than not showing up at all. The LSB and VLAN facts have been updated to fix this bug.

Facter 2.0.0

For historical reasons, Facter 2.0.0 was never released. Facter 2.0.1 is the first release in the Facter 2 series.

In May 2012, several release candidates were published for a Facter 2.0.0 release, using code that had diverged from the 1.6 series. After testing it, the Puppet community and developers decided that this code wasn't yet usable and the release was cancelled, in favor of continuing work that became the Facter 1.7 series.

Since the 2.0.0rc1 tag in the Facter repo was already occupied by that cancelled release, and since issuing a RC5 out of nowhere might have been confusing, we decided to go directly to 2.0.1 instead.

Facter 2.0.1-rc2 Contributors

Adrien Thebo, Jeff McCune, Kylo Ginsberg, Melissa Stone, Rob Braden, Ryan McKern

Facter 2.0.1-rc2 Changelog

Adrien Thebo (11):

    c60f11e (FACT-356) Return nil when no vlans are present
    ab78e3a (FACT-357) Raise errors when command execution fails
    9bb5e11 (FACT-357) Extract virtual fact vmware resolution
    85a6998 (maint) Only create LDOM facts if virtinfo available
    92aba90 (maint) Confine lsbdistdescription to depend on lsb_release
    aa1881a (maint) Stub all confines for lsbdistdescription on Solaris
    1292427 (maint) Return nil on dns command lookup fail
    cf899a3 (maint) Return nil on sysctl command lookup fail
    e6f453b (maint) Return nil on uptime command fail
    f836535 (maint) Return nil on zoneadm command fail
    8e5e9e9 (FACT-379) Don't return VLANs when only header is present

Jeff McCune (1):
    94c2188 Use simpler DSL for declaring external commands.

Kylo Ginsberg (1):
    46be425 Use same one-line 'source' syntax used in acceptance/Gemfile

Melissa Stone (1):
    ac366f3 (FACT-342) Add trusty cows

Rob Braden (1):
    dbf53c5 (fact-242)(packaging) Remove Fedora 18 from the default set of package builds

Ryan McKern (1):
    f8c124d (packaging) Update FACTERVERSION to 2.0.1-rc2

--

Ryan McKern
Release Engineer, Puppet Labs

Join us at PuppetConf 2014September 23-24 in San Francisco - http://bit.ly/pupconf14
Register now and save $350! 
Reply all
Reply to author
Forward
0 new messages