Welcome to the first maintenance release for Facter in the new year. It includes contributions from the following people: Adrien Thebo, Barrie Bremner, Gary Larizza, Jonathan Boyett, Josh Cooper, Ken Barber, Marcus Vinicius Ferreira, Matt Dainty, Michael Kincaid, Moses Mendoza, Pieter Lexis This release is available for download at: http://downloads.puppetlabs.com/facter/facter-1.6.5.tar.gz Packages available on http://yum.puppetlabs.com and http://apt.puppetlabs.com Starting this month we also will be building Mac OS X packages for Facter and Puppet: http://downloads.puppetlabs.com/mac 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.6.5: http://projects.puppetlabs.com/projects/facter/ Full Release Notes at: https://projects.puppetlabs.com/projects/facter/wiki/Wiki Facter 1.6.5 Release Notes ==================== EC2 Improvements == (#11566) Add windows support for ec2 facts This patch adds support for detecting ec2 on windows. This works by modifying the linux methodology by using arp -a instead of arp -an and searching for the mac address with a hyphen delimiter (as apposed to a quote). I''ve added tests and a sample fixtures which adds output from arp -a from a windows machine and linux machines, on ec2 and not on ec2. I''ve also re-worked the decision making into a util class so the testing is much easier to write and work with, so now we can test the individual mechanism for detecting that we are in a cloud on their own. This will be much better abstracted into their own fact(s) but for now this has the least impact to solve the problem at hand. In the future this logic (and tests) can certainly be re-used if such a fact was evercreated. Thanks to Feifei Jia <fjia@yottaa.com> for contributing the original code. (#11196) Scan all arp entries for an ec2 mac This patch now scans all arp entries for the magic EC2 mac address. At times the mac entry was being returned out of order and since we only looked at the first entry there were cases where the test would fail. It also now removes the dependency on the arp fact which has become only important to the EC2 fact anyway. This was to avoid hacking the arp fact (which was obviously built for a different purpose) just to fix this issue. (#8279) Join ec2 fact output with commas ec2 facts were being concatenated, which made array data harder to use. Switched to comma delimited data. Thanks to Hunter Haugen <hunter@puppetlabs.com> for this patch. Other Improvements == (#10271) Identifying ''Amazon'' using ''/etc/system-release'' Previously the operating system detection depended upon the lsbrelease package. This wasn''t guaranteed to be present, so this could lead to incorrect detection. To remedy this, the presence of /etc/system-release is now used for detection on amazon linux. (#11436) Unify memorysize and memorytotal facts Two different names were given for the amount of physical memory in a given node. Switched to the name of ''memorysize'' for the RAM and added a fallback fact ''memorytotal'' that reverts to the memorysize. (#7753) Added error checking when adding resolves Added exception handling to the fact class. When adding a resolution to a fact, if an exception was thrown outside of the setcode block, facter would crash. Added handling so that if an exception is thrown, facter logs the error and discards the fact. Facter 1.6.5 Changelog ==Adrien Thebo (7): 6201820 (maint) remove redundant arch detection cb4e294 (#7753) Added error checking when adding resolves 4633996 (#9789) Extend coverage of operatingsystem specs 5cd30eb (#8279) Join ec2 fact output with commas 5c6322a (maint) Joined conditional statements for domain 9c224d3 (#11436) Unify memorysize and memorytotal facts 82692ba (#9599) Generalize zone detection Barrie Bremner (1): 6d21f90 Move Linux specific virtual tests to correct block. Gary Larizza (1): 14cad7e Build a Rake task for building Apple Packages Jonathan Boyett (1): e6cebd3 (#9599) Add nexenta facts Josh Cooper (1): d1a33e5 (#11848) Don''t hard code ruby install paths in Windows batch files Ken Barber (12): d141e7e (maint) Fix requirement for FileUtils as operatingsystem_spec needs it now c1604c7 (#10309) Add puppetlabs_spec helper library based on Puppets own puppet_spec helpers d6e8523 (#10309) Integrate new PuppetlabsSpec helpers into our existing facter spec code and general spec cleanup d50fc48 (#10309) Move all fixture data in spec/unit/data to spec/fixtures a99d87c (#10309) Rename tmpfile to tmpfilename to make function clear c473e3f (#10309) Remove the with_verbose_disabled method 3ccac87 (#9708) Amend requires in specs to use simple requires 9401b78 (#11583) Switch request method to open-uri monkey patch ''open'' b51ccf0 (#11583) Add basic coverage to the ec2 fact 2de7b84 (#11661) EC2 rspec tests were using throw not raise to simulate a timeout 5a60ca6 (#11559) Switch to RbConfig & Provide alias for RbConfig for pre-1.8.5 1df5b46 (#11566) Add windows support for ec2 facts Marcus Vinicius Ferreira (1): 88c9429 (#10271) Identifying ''Amazon'' using ''/etc/system-release'' Matt Dainty (2): 3f99f16 (#11328) Add virtualisation detection for OpenBSD 4f9da1c (#11328) Fix uptime detection on OpenBSD Michael Kincaid (1): b0b5282 (#9708) Confine facts by kernel not operating system and remove confine for hardwareisa Moses Mendoza (1): 71d3d3d (#12077) Add pciutils RPM dependency Pieter Lexis (1): a1dba38 (#11196) Scan all arp entries for an ec2 mac -- 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.