Facter 2.0.0rc1 is a feature release candidate with bug fixes, features and other improvements. Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release and has breaking changes from Facter 1.6.x. Facter 2.0 is not backwards compatible with Puppet 2.6 or 2.7. It includes contributions from the following people: Chris Price, Daniel Black, Daniel Pittman, Garrett Honeycutt, Gary Larizza, Grant Heffernan, Hailee Kenney, Jacob Helwig, Jason Gill, Jeff Weiss, Jonathan Grochowski, Josh Cooper, Ken Barber, Luke Kanies, Matthaus Litteken, Max Riveiro, Michael Kincaid, Mikael Fridh, Nan Liu, Nicolas Vigier, Patrick Carlisle, Stefan Schulte, Tim Sharpe, and Timur Batyrshin. This release is available for download at: http://downloads.puppetlabs.com/facter/facter-2.0.0rc1.tar.gz http://apt.puppetlabs.com http://yum.puppetlabs.com See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet#Verifying+Puppet+Downloads Please report feedback via the Puppet Labs Redmine site, using an affected version of 2.0.0rc1: http://projects.puppetlabs.com/projects/facter/ Full Release Notes at: https://projects.puppetlabs.com/projects/facter/wiki/Wiki Facter 2.0.0rc1 Release Notes ===================== ## Breaking Changes in Facter 2.0 ## Domain Fact now uses hostname -f On Linux, Darwin, and FreeBSD, the Domain Fact will use hostname -f to retrieve the FQDN, which on misconfigured systems, will cause the hostname -f command to fail, however it should fail over to dnsdomainname which should be fine. This change was made to allow the Domain Fact to properly retrieve top level domains. Domain Fact now strips trailing ''.'' In Facter, the domain fact could or could not end in a trailing ''.''. It has now been normalized so that a trailing ''.'' is always removed. Trailing and leading whitespace is now stripped from all facts In Facter, facts could end or begin with whitespace. Now they have been normalized so that whitespace is always stripped. However, since the whitespace may be essential for some facts, it is possible to opt out of the stripping of whitespace when defining a fact. Relative directories now excluded from searchpath For security reasons and principle of least surprise, Facter now explicitly excludes relative directories from its searchpath. When a directory is excluded, Facter will log a debug message. Removed deprecated memorytotal fact Previously deprecated, the preferred fact is memorysize. FACTERLIB enviroment variable On Windows, the FACTERLIB environment variable now uses the platform specific path separator. Facter 2.0.0rc1 Changelog ==================Chris Price (7): 26918b3 (#12012) Move "with_env" utility method from test code into lib code 810c465 (#12012) Remove global override of LANG environment variable 66cbfac (#12012) Add spec unit tests for env/LANG changes d8be0a6 (#12012) Fix ruby 1.8.5 incompatibility in new spec test 9c2afdb (#12012) Fix bug with overriding LANG environment variable 4595c48 (#12012) removed extraneous nils f77584f (#12311) use ''ensure'' to restore env vars in Resolution.with_env Daniel Black (3): 6c8683a (#11660) Adds feature SSHFP (#11659) Adds ssh spec 50f6da6 (#11660) Adds feature SSHFP 2a86219 (#11660) Adds feature SSHFP (#11659) Adds ssh spec Daniel Pittman (4): 2bdacfb Revert "(#11660) Adds feature SSHFP" 0010a65 (#10232) Tests for VirtualBox detection via sysfs cb429df Partial revert of CFPropertyList migration. 02ff878 Bump Facter version to 2.0.0 for the release. Garrett Honeycutt (1): 4581b17 (maint) removing trailing whitespace Gary Larizza (2): af682cc [#11299] Replace facter/util/plist with cfpropertylist 635ccc4 Namespace CFPropertyList under Puppet::Util Grant Heffernan (2): 976b7af fix xen0/xenu detection: https://projects.puppetlabs.com/issues/10625 40efab4 fix tests for virtual detection Hailee Kenney (8): 6b9e2e5 (#7484) Domain fact should handle only TLD 3168927 (#7484) Domain Fact should handle TLD 3a84a0e (#3226) Strip whitespace from fact 6e7d967 (#3226) Wire up fact preserve_whitespace DSL c13a517 (maint) Fix broken Windows tests fa38c60 (#14469) Strip whitespace from frozen strings e9326d7 (#14467) Warn when removing relative paths ffe7129 (#3909) Strip trailing dots from domain fact Jacob Helwig (1): e0cb1ae Revert "Merge branch ''ticket/10251'' of git://github.com/jgrocho/facter" Jason Gill (1): dd704c5 (#10238) Adds support for retrieving information about block devices in Linux, with tests; updated to include sizes and be more flexible for future additions Jeff Weiss (4): 5aa2a6f (#12864) Windows: get primary DNS from registry 4a2d358 (#6955) Remove relative dirs from fact search path 9810595 (#11466) Remove deprecated memorytotal fact 9f01fe7 (#12147) Remove Darwin 6-specific iphostnumber fact Jonathan Grochowski (1): ce67c98 (#10251) Creating RC tarballs should be handled by rake. Josh Cooper (1): c93922c (#12012) Fix ENV[''LANG''] spec tests on Windows Ken Barber (2): a9140d5 (#6617) Deprecate DESTDIR environment variable for installer 64fa8ea (maint) Fix requires for newer rspec revisions so we don''t break build Luke Kanies (1): 844b67b (#10964) Adding the ability to directly set values Matthaus Litteken (1): 1368bd6 Updating CHANGELOG, conf/redhat/facter.spec for 2.0.0rc1 release. Max Riveiro (1): 51cb8e2 Cleaned up Arch Linux detection routine Michael Kincaid (1): 2eb4ede (#9708) Confine facts by kernel not operating system and remove confine for hardwareisa Mikael Fridh (1): 64770d0 Try to get VirtualBox info without dmidecode Nan Liu (3): f47c592 (#1424) Add Solaris zonename fact. 5273842 (#6682) Add Solaris ldom facts and update virtual detection. c80de1c (#11969) Add zfs zpool version facts. Nicolas Vigier (1): 9df78a1 (#9929) Add support for Mageia to operatingsystem.rb and operatingsystemrelease.rb Patrick Carlisle (1): 1dd50f4 Use absolute path for $LOAD_PATH in installer Stefan Schulte (3): 7713d95 (#11082) Add fact operatingsystemrelease for Solaris 30e068a (#11082) Add negative tests for operatingsystemrelease 2e7a108 (#12790) Raise an exception if recursion is detected Tim Sharpe (1): 2fc1b0c (#9574) Add filesystem fact & tests Timur Batyrshin (1): 9ff4453 Removed exclusive threading -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
John Warburton
2012-May-16 05:18 UTC
Re: [Puppet Users] Announce: Facter 2.0.0rc1 Available
On 16 May 2012 10:15, Matthaus Litteken <matthaus@puppetlabs.com> wrote:> Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release > and has breaking changes from Facter 1.6.x. Facter 2.0 is not > backwards compatible with Puppet 2.6 or 2.7. >Will you be documenting the "breaking changes"? Thanks John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matthaus Litteken
2012-May-16 17:11 UTC
Re: [Puppet Users] Announce: Facter 2.0.0rc1 Available
Yes, they will be in the Facter 2 docs. Also, I included them in the release notes in the announcement, under "## Breaking Changes in Facter 2.0 ##". Thanks, matthaus On Tue, May 15, 2012 at 10:18 PM, John Warburton <jwarburton@gmail.com> wrote:> On 16 May 2012 10:15, Matthaus Litteken <matthaus@puppetlabs.com> wrote: > >> >> Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release >> and has breaking changes from Facter 1.6.x. Facter 2.0 is not >> backwards compatible with Puppet 2.6 or 2.7. > > > Will you be documenting the "breaking changes"? > > Thanks > > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- Matthaus Litteken Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.