Facter 1.6.1rc2 is a maintenance release containing fixes, updates and refactoring. Significant effort has been put into getting to Facter to run on Windows for this release, as noted below. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.6.1rc2.tar.gz See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet Please report feedback via the Puppet Labs Redmine site, using an affected version of 1.6.1rc2: http://projects.puppetlabs.com/projects/facter/ Full Release Notes at: https://projects.puppetlabs.com/projects/facter/wiki/Wiki # Facter 1.6.1rc2 Release Notes ## CHANGELOG 88f343c (#2344) VMware version parsing fix # Facter 1.6.1rc1 Release Notes ## Physical Memory on Windows (#8439) Implement total and free physical memory on Windows This commit adds the ''memoryfree'' and ''memorytotal'' facts for Windows. These values represent the amount of physical free and total memory respectively. Note that the free and total values come from different WMI objects that report memory sizes in different units. The free value reported by Win32_OperatingSystem is in kB whereas the total value as reported by Win32_ComputerSystem is in bytes. This commit does not add facts for free and total page sizes, since the total page size is associated with the Win32_PageFileSetting class, but WMI reports no instance(s) available when automatic page file management is enabled (and it is by default). ## Physical Processor Count for Windows (#8439) Add physicalprocessorcount and processor facts on Windows This commit adds the ''physicalprocessorcount'', ''processor{n}'' and ''processorcount'' facts. The ''physicalprocessorcount'' fact is obtained by counting the number of Win32_Processor instances. Note that the WMI query does a select on just the Name property, because it is faster than doing a ''select *'' On Windows 2008, each Win32_Processor represents a physical processor, and the NumberOfLogicalProcessors property (which includes both multi and/or hyperthreaded cores) represents the number of logical processors. For example, a dual-core processor, with quad-hyper threads per core, will report 1 physical processor and 8 logical processors. Note that the NumberOfCores property could be used to distinguish between multi-core and hyperthreading processors, but the fact does not distinguish between them. On Windows 2003, each Win32_Processor represents a logical processor, and the NumberOfLogicalProcessors property is not available. In this case, the physicalprocessorcount fact will be over-reported, but the number of logical processors will be correct. With that said, if this hotfix is installed, then 2003 behaves like 2008: http://support.microsoft.com/kb/932370 The Win32_Processor.Name property contains extra spaces: Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz So we ''squeeze'' the output to eliminate duplicate spaces: processor0 => Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz ## IP Facts for Windows (#8439) Add interface-specific ip facts for Windows This commit adds Windows to the list of Facter::Util::IP ''supported_platforms'' It adds support for the ''interfaces'' fact, e.g. interfaces => Loopback_Pseudo_Interface_1,Local_Area_Connection,Teredo_Tunneling_Pseudo_Interface On Windows, the name of the interface can be edited to include non-alphanumeric characters, which are not valid fact names. This commit changes the alphafy method to ensure the returned value only includes alphanumeric characters (and underscore). And the ipaddress, netmask, network, and ipaddress6 per-interface facts, e.g. ipaddress_local_area_connection => 172.16.138.218 netmask_local_area_connection => 255.255.255.0 network_local_area_connection => 172.16.138.0 ipaddress6_teredo_tunneling_pseudo_interface => 2001:0:4137:9e76:24de:36a7:53ef:7525 Note the per-interface macaddress fact is not yet supported. Also these facts are only supported on 2008, because the output and syntax of netsh is different on 2003. Also 2003 has dependencies on the Routing and Remote Access service, which may not be running. ## Scientific Linux CERN Detection Add Scientific Linux CERN detection to facter. Fixes #9260 Adds the SLC operatingsystem fact, and adds the SLC variant to all locations that Scientific Linux is specified. Added additional unit tests to verify that SLC would not be confused with Scientific Linux. ## CHANGELOG 6d47012 (#4869) Implement productname as Darwin hw.model d28d96c (#4508) Xen HVM domU not detected as virtual d55983e (#9178) Add Oracle Linux identification ec04277 (#4228) Ensure MAC address octets have leading zeroes. 3eb3628 Add Scientific Linux CERN detection to facter. Fixes #9260 f810170 (#7957) is_virtual should be false for openvz host nodes 1414e0b (#9059) is_virtual should be false on vmware_server 7fb0e6a (#8439) Add interface-specific ip facts for Windows 5d5848c (#8439) Add ipaddress6 fact on Windows 7531a2b (#8439) Add ps fact on Windows ddb67c5 (#8439) Move macaddress resolution on Windows 0721f2f (#7682) Add complete support for Scientific Linux a347920 (#9183) Add support for Alpine linux detection 824fac0 (#8439) Add physicalprocessorcount and processor facts on Windows 9ef56d6 (#8439) Implement total and free physical memory on Windows b3e2274 (#8439) Add Facter::Util::WMI module 00bed7a (#8964) Search mountinfo for selinux mount point e8d00ec (#8964) Search mountinfo for selinux mount point c5d63d4 Fix #2766 - silence unknown sysctl values 5d9cc84 (#8660) Fix destdir option on Windows e329450 (#8247) Fixing arp DNS timeout issue. 15d0406 use each_line instead of each for strings in ruby 1.9 08b3f77 (#7854) Add Augeas library version fact e84c051 Fixed #7307 - Added serial number fact to Solaris -- 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.