Facter 1.5.9 is a maintenance release containing fixes and updates. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.5.9rc1.tar.gz 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 1.5.9rc1: http://projects.puppetlabs.com/projects/facter/ CHANGELOG =========458a22d Incremented release to 1.5.9 4eb64fe Fixed #6719 Typo ffd80ac (#5011) Adds swap statistics for OSX 1207765 (#6719) Restricts virtualization types for zones 8d71db3 Fixed #6616 - Stubbing in VMware tests on Linux aa959df Remove Solaris from the list of confined systems. It won''t get the original lsb facts, and it''s nonsensical too. d718af4 Fix #6679 - Added Scientific Linux to operatingsystem fact dea6f78 Further fix to #5485 - SELinux facts 6d6d8da (#2721) Merged patch from Brane GraAnar 868e7ba (#5485) Made selinux_mode fact work 214da73 Fixed #5485 - Updated selinux_mode fact ba2601f Fix for #6495 - Updated interface detection 93461d9 Fixed #5950 - Solaris ipaddress incorrect after bonding failure 2e06cdc (#6615) fix missing stub calls in loader specs 3c7841e (#5666) windows support for facter/id.rb dd5d5bf (#4925) - MS Windows doesn''t do man pages 52026ee Fixed #5699 - Added processorcount support for S390x 7dd730d Fixed #5699 - Added virtual support for s390x/Zlinux d6ce08a Fixed #6611 - Fixed broken HPVM test and rationalised test structure 84fa3c4 (#6525) change semicolons to ''then'' in case statement for ruby 1.9.2 compatibility 3e6217d Fixes #6521 and other Ruby 1.9 issues eb5d6fc Fixed #6525 - Test failures on Ruby 1.9.x cb25119 (#2270) add testing for the new ipaddress6 feature ea29483 (#2270) add IPv6 support to facter core. 77eb512 (#2270) Remove DWIM code from ipaddress on Darwin. f5bf0f5 (#6360) Flush Facter top level cache before every test case. 0d7a2e6 Fix #4755: add support for GNU/kFreeBSD platform where missing. b88a088 (#5510) Facter should load custom fact definitions in filename order. 7a8be16 Refactor #6044 -- use _spec.rb as the pattern for spec tests. b39f892 Refactor #6044 -- require spec_helper with a consistent path. a4fe459 Refactor #6044 -- port testing to rspec2 af9134c (#5086) Try using kstat before falling back to ''who -b'' to determine uptime. cbbfe55 Refactor util/uptime.rb tests to reduce duplication using contexts f0cc2c0 (#4575) win32 support for manufacturer, productname, & serialnumber c40fc07 (#1423) Memory facts for Solaris 1985528 (#4754) Change is_virtual logic to not enumerate virtual types 739040f (#4754) Add support for Darwin and Parallels VM to "virtual" fact 9332f8a (#5325) Add tests for SPARC manufacturer and product name 5b561e3 (#5325) Manufacturer and product name on SPARC 9d99079 maint: Fix spec failures caused by having a space in the path to facter''s source 89da001 maint: require rubygems so hudson can run the specs 1eef842 Maint: add "Local-branch:" info to mails sent by "rake mail_patches" f007a9d (#4989) Add xendomains fact 1fa87a9 JSON support. Works in 1.9.1. Warnings in 1.9.2. LoadError on 1.8.7 for some reason 43e203c (#5040) fact virtual should detect hpvm 7cec60a (#5016) is_virtual should be true on solaris zones f2e66b6 (#5031) Remove redundant puts from RDoc.usage f4da528 maint: Fix merge error d62b013 Issue #4889 Fact values should all be strings 07f186d [#4552] Updating --timing to report in milliseconds instead of seconds 1f387a5 [#4552] Apply patch from Dean Wilson 244d2f1 Better fix for Bug 4569: Uptime Fact is incorrect on Windows 11544c1 [#4289] operatingsystemrelease fact for oel, ovs e6bfdf9 Fix for bug #4569 8c4d0cd (#4558) Fail with message on --help errors 7210429 [#4558] Refactor facter binary using optparse b5c85de [#4563] Add a --trace option to the binary ebcb81b [#4558] Refactor facter binary using optparse b8b7123 (#4567) Remove unnecessary or non-portable redirects 7ecba71 (#4567) Retain detached HEAD state 1125e1e Make sure FreeBSD spec also works on systems that have /proc/cpuinfo. 889e150 Sync rpm spec file from Fedora/EPEL 725dce0 Rename Reductive Labs to Puppet Labs ff473ef Updated signing rake task a85f2b0 [#2865] Fix reporting of virtual facts f67ec05 [#4567] Add ext/facter-diff to compare output of 2 versions 4050acc Removing stupid .DS_Store files :( 016cf03 [#3703] Fix macaddress fact for Darwin -- 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.
On Wed, Mar 16, 2011 at 5:38 PM, Matt Robinson <matt@puppetlabs.com> wrote:> Facter 1.5.9 is a maintenance release containing fixes and updates.That subject and message were supposed to say that this is a release candidate, 1.5.9rc1, not the final release of 1.5.9 -- 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.
Facter 1.5.9rc2 is a maintenance release containing fixes and updates. Unfortunately, due to some internal mis-communication there were a few fixes left out of rc1 that should have been included. This release candidate includes those missing items, along with a fix for bug #6716 which was discovered as a regression from 1.5.8. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.5.9rc1.tar.gz 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 1.5.9rc1: http://projects.puppetlabs.com/projects/facter/ CHANGELOG: 1.5.9rc2 =======2fb8316 Clean up indentation, and alignment in macaddress_spec.rb 3f0a340 (#6716) fix facter issues on OSX with ipv6 in macaddress.rb. d62e079 Fixed #2346 - A much cleverer EC2 fact 0411d2e Fixed #2346 - Part 1: Added arp fact for Linux 5b6f4fa Discussion on ec2 facts - #2346 e917e1a Fixed #3087 - Identify VMWare d0f0f63 (#6327) Memory facts should be available on Mac Darwin 2e48e18 Fixed #6695 - Updated id fact for Darwin et al -- Jacob Helwig
On Thu, Mar 17, 2011 at 7:21 PM, Jacob Helwig <jacob@puppetlabs.com> wrote:> Facter 1.5.9rc2 is a maintenance release containing fixes and updates. > > Unfortunately, due to some internal mis-communication there were a few > fixes left out of rc1 that should have been included. This release > candidate includes those missing items, along with a fix for bug #6716 > which was discovered as a regression from 1.5.8. > > This release is available for download at: > http://puppetlabs.com/downloads/facter/facter-1.5.9rc1.tar.gzI am sure you meant facter-1.5.9rc2.tar.gz. tj> 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 1.5.9rc1: > http://projects.puppetlabs.com/projects/facter/ > > CHANGELOG: > > 1.5.9rc2 > =======> 2fb8316 Clean up indentation, and alignment in macaddress_spec.rb > 3f0a340 (#6716) fix facter issues on OSX with ipv6 in macaddress.rb. > d62e079 Fixed #2346 - A much cleverer EC2 fact > 0411d2e Fixed #2346 - Part 1: Added arp fact for Linux > 5b6f4fa Discussion on ec2 facts - #2346 > e917e1a Fixed #3087 - Identify VMWare > d0f0f63 (#6327) Memory facts should be available on Mac Darwin > 2e48e18 Fixed #6695 - Updated id fact for Darwin et al > > -- > Jacob Helwig > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQGcBAEBAgAGBQJNgqWSAAoJEHJabXWGiqEBqtQL/1yhQ10+Ex+u+2ek+TKA1Fyg > QEJmKz34D6o2GaQjGRAPq0cFpik7jDj+ZpKc7zh+ITn6+hIn9tdtgFtekjEZ9qkK > puhaHETDJMfX6mh2GAh97Wbv0d1lopmudx6unNPQfvEMhW+EJBy/4P0OvGNqCfN8 > 15ZmsyJex9cDYl5NFRl313QKVFtyhJ1v55idpEkWOpZVqLTmPpUHl4Ly4e/R0dL4 > //HyfYhFFiQwSow1/vKDigx6KyV58GO1GQXAYxdxMeSKSLcV1kKAhDNjcXQu9rX4 > HSmcsOOpqRRl+oZjXxyR+AHSrhgUMPsQNRDURjXhZdG4UARFOF/F4FmDujeLysx4 > NLLV7AWdUjB6eZtn6ey6i5UzW5CZ/18NApou5x5KFUBdmzH0jhFYgaJFRHz4dAfK > 6KnUMEK2ubt0PUCN0I+7WwcNWzH3UO+ujCoDT44b8DJl4zm/lr8tztERzFps9Fzu > SnSfJWXUNB5i/Z3WOsXmDaYOfsAVMxNp5iLuHoDBkg=> =feH3 > -----END PGP SIGNATURE----- > >-- T.J. Yang -- 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.
On Thu, 17 Mar 2011 19:26:57 -0500, TJ Yang wrote:> > On Thu, Mar 17, 2011 at 7:21 PM, Jacob Helwig <jacob@puppetlabs.com> wrote: > > Facter 1.5.9rc2 is a maintenance release containing fixes and updates. > > > > Unfortunately, due to some internal mis-communication there were a few > > fixes left out of rc1 that should have been included. This release > > candidate includes those missing items, along with a fix for bug #6716 > > which was discovered as a regression from 1.5.8. > > > > This release is available for download at: > > http://puppetlabs.com/downloads/facter/facter-1.5.9rc1.tar.gz > > I am sure you meant facter-1.5.9rc2.tar.gz. > > tjYup, you''re absolutely right. The correct link is: http://puppetlabs.com/downloads/facter/facter-1.5.9rc2.tar.gz Sorry about that! -- Jacob Helwig
Jacob Helwig wrote:> Facter 1.5.9rc2 is a maintenance release containing fixes and updates.For those using Fedora or RHEL/CentOS, I''ve updated the yum repos at: http://tmz.fedorapeople.org/repo/puppet/ Packages for EL 4 - 6 and Fedora 13 - 15 are available for testing. Add the puppet.repo file from either the epel or fedora directories to /etc/yum.repos.d to enable. If you find problems with the packaging, please let me know. If you find other bugs, please file them in redmine: http://projects.puppetlabs.com/projects/facter/issues -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nothing in education is so astonishing as the amount of ignorance it accumulates in the form of inert facts. --Henry Brooks Adams
Hi Todd, 2011/3/18 Todd Zullinger <tmz@pobox.com>> [...] > If you find problems with the packaging, please let me know. If you > find other bugs, please file them in redmine: > > http://projects.puppetlabs.com/projects/facter/issues > [...] >don''t know if it''s a bug or related to the packages but facter search arp at /usr/sbin/arp but on CentOS 5 it is at /sbin/arp. Regards, Thomas -- 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.
Emiliano Gabrielli (aka AlberT)
2011-Mar-18 12:00 UTC
Re: [Puppet Users] Re: ANNOUNCE: Facter 1.5.9rc2
Confirmed and already opened a ticket: https://projects.puppetlabs.com/issues/6763 On Mar 18, 2011, at 12:38 PM, Thomas Bendler wrote:> Hi Todd, > > 2011/3/18 Todd Zullinger <tmz@pobox.com> > [...] > If you find problems with the packaging, please let me know. If you > find other bugs, please file them in redmine: > > http://projects.puppetlabs.com/projects/facter/issues > [...] > > don''t know if it''s a bug or related to the packages but facter search arp at /usr/sbin/arp but on CentOS 5 it is at /sbin/arp. > > Regards, Thomas > > -- > 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.-- 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.
I can confirm, already opened a ticket: https://projects.puppetlabs.com/issues/6763 -- 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.
Todd Zullinger
2011-Mar-18 13:14 UTC
[Puppet Users] [PATCH/facter] (#6763) Use Facter::Util::Resolution.exec for arp
The arp command is in /sbin on Fedora/RHEL, not /usr/sbin. Using Facter::Util::Resolution.exec is preferable to hard-coding the path. --- lib/facter/arp.rb | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/facter/arp.rb b/lib/facter/arp.rb index 65cf4c3..5035ad0 100644 --- a/lib/facter/arp.rb +++ b/lib/facter/arp.rb @@ -4,9 +4,11 @@ Facter.add(:arp) do confine :kernel => :linux setcode do arp = [] - output = %x{/usr/sbin/arp -a} - output.each_line do |s| - arp.push($1) if s =~ /^\S+\s\S+\s\S+\s(\S+)\s\S+\s\S+\s\S+$/ + output = Facter::Util::Resolution.exec(''arp -a'') + if not output.nil? + output.each_line do |s| + arp.push($1) if s =~ /^\S+\s\S+\s\S+\s(\S+)\s\S+\s\S+\s\S+$/ + end end arp[0] end -- 1.7.4.1 -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move. -- Douglas Adams -- 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.
Facter 1.5.9rc4 is a maintenance release containing fixes and updates. rc4 addresses some issues that were disovered with rc2. Specifically, it addresses using the wrong path to the arp executable on CentOS & RHEL (Bug #6763), as well as some spurrious output in the xendomains fact when xend is not running (Bug #6795). As always, please let us know if you run into any problems with any of the release candidates. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.5.9rc4.tar.gz 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 1.5.9rc4: http://projects.puppetlabs.com/projects/facter/ CHANGELOG: 1.5.9rc4 =======09b9f9b (#6795) Update tests to reflect changed exec 1.5.9rc3 =======def3322 (#6795) xendomains: Ignore error output from xm list f39d487 (#6763) Use Facter::Util::Resolution.exec for arp 3eb9410 arp: Cleanup indendation -- Jacob Helwig
Jacob Helwig wrote:> Facter 1.5.9rc4 is a maintenance release containing fixes and updates.For those using Fedora or RHEL/CentOS, I''ve updated the yum repos at: http://tmz.fedorapeople.org/repo/puppet/ Packages for EL 4 - 6 and Fedora 13 - 15 are available for testing. Add the puppet.repo file from either the epel or fedora directories to /etc/yum.repos.d to enable. If you find problems with the packaging, please let me know. If you find other bugs, please file them in redmine: http://projects.puppetlabs.com/projects/facter/issues -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ America wasn''t founded so that we could all be better. America was founded so we could all be anything we damned well pleased. -- P.J. O''Rourke