summaryrefslogtreecommitdiff
path: root/sysutils/ruby-facter
AgeCommit message (Collapse)AuthorFilesLines
2009-02-08Update the Facter Ruby gem to version 1.5.2. Current version is 1.5.3 buttonnerre3-7/+41
this one is thoroughly tested by me. Changes since 1.5: - Enabled a number of Windows facts - operating system, domain, ipaddress, macaddress, kernel, ipconfig and others. - macaddress now set on Ubuntu. - CONFIG['bindir'] CONFIG['sbindir'] have undesirable defaults on. - Allow specification of --bindir --sbindir --sitelibdir --mandir. - Package creation scripts for Mac OS X. - Solaris. (Whatever was done here, it's written like that in the ChangeLog.) - Add module level tests for Facter::IPAddress. - Add sample test and strawman solution for IP parsing code. - Adding better SuSE detection for both operatingsystem and release. - Adding a rake task for creating an archive. - macaddress not set on Ubuntu. - Modified the operatingsystem fact for Debian so it looks in /etc/debian_version instead of /proc/version. - Added virtual fact. - Added kernelversion fact. - Facter now defaults to 0 timeout. - CentOS version detection is now better. - Set the timeout the host-based and resolve-based resolutions to 2. - Added a Process.waitall thread when there's a timeout, to avoid zombies. - Update to dmidecode fact. - Added operatingsystemrelease for Solaris. - Updated virtual fact for xenu and xen0. - Removed facter from PREREQS.
2008-09-15Update ruby-facter pacakge to 1.5.taca4-22/+42
1.5: Fixed #1400 - OperatingSystemRelease should now work on CentOS Changed 'timeout' option to 'limit' to avoid scope issue Fixes #1376 - Display memory facts for AIX Fixes #1334 - Forced Facter to use LANG=C Fixes #1357 - Change ps syntax for OSX and BSD Set the timeout on the AIX kernelrelease fact to 5 seconds. Refactored so each fact resolution can specify a separate timeout, but the default is still 0.5. Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD aliased interfaces. Updated dmidecode facts fixing ticket #60 Added AIX support for some facts Add lsbmajdistrelease fact for CentOS and Red Hat Updated Red Hat spec file for new version The 'facter' executable now has an option (-p|--puppet) for loading the Puppet libraries, which gives it access to Puppet's facts. Added autoloading to Facter with a default of not loading all facts, which results in a significant speedup when only one fact is sought. Facts are autoloaded in either a single file named after the fact or in any file in a directory named after the fact. Significantly refactored Facter's internals, including creating tests for all internal classes. A netmask fact has been added closing ticket #46. It only returns the netmask of the primary interface (in the same behaviour as the ipaddress and macaddress facts). Facts to return multiple interfaces on a host have also been updated. If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS you will now get facts for each interface's IP address, MAC address and netmask. The facts will be structured like: ipaddress_int = 10.0.0.x macaddress_int = xx:xx:xx:xx netmask_int = 255.255.255.0 Facter now identifies Ubuntu hosts and their releases using the operatingsystem and operatingsystemrelease facts. The Debian operatingsystemrelease fact now correctly returns the current Debian release. Fixed ticket #48 - ioperatingsystem and operatingsystemrelease for CentOS Fixed ticket #44 and allowed support for Xen multiple interfaces and aliased interfaces. Supports both Linux and *BSD. Added interfaces fact to add as index for ip/MAC address facts Added Mandrake support for operatingsystem fact - closed ticket #47 Fixed ticket #45 Added netmask.rb closing ticket #46
2008-04-04Install as a gem using the pkgsrc rubygem.mk framework instead ofjlam4-26/+53
directly into site_ruby.
2008-03-12Add Facter Ruby module in version 1.3.8 to prepare addition of Puppettonnerre4-0/+43