summaryrefslogtreecommitdiffstats
path: root/lib/facter.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #6974 - Moved to Apache 2.0 licenseJames Turnbull2011-04-061-14/+11
| | | | | | | | | This is in line with our proposed plan to change from the GPL license to Apache 2.0. Please see this link for further explanation: https://groups.google.com/d/topic/puppet-users/NuspYhMpE5o/discussion
* Incremented release to 1.5.9James Turnbull2011-03-171-1/+1
|
* [#4552] Updating --timing to report in milliseconds instead of secondsRein Henrichs2010-10-041-6/+1
|
* [#4552] Apply patch from Dean WilsonRein Henrichs2010-10-041-0/+31
|
* Incremented version to 1.5.8James Turnbull2010-08-181-1/+1
|
* Fixed #3542 - Ruby 1.9: broken unittest, String#each no longer existsJames Turnbull2010-04-241-0/+1
| | | | Thanks to Jos Backus for the fix.
* introduce a warn mechanism for debuggingPeter Meier2009-11-071-1/+12
| | | | | We can now warn messages that will be passed to Kernel.warn if debugging is enabled.
* Incremented version and updated CHANGELOGJames Turnbull2009-09-111-1/+1
|
* Fix bug where you'd get an 'undefined method' error if trying to access a ↵Diego Algorta2009-08-141-1/+1
| | | | fact's value when collection has not being yet initialized.
* Updated CHANGELOG and bumped version for 1.5.6James Turnbull2009-06-051-1/+1
|
* Bumped release to 1.5.5rc2James Turnbull2009-05-191-1/+1
|
* more consistent indentation and alignment. also removal of trailing whitespaceIan Taylor2009-02-281-11/+11
|
* Updated to version 1.5.4Luke Kanies2009-02-171-1/+1
|
* Fixed #1850 - Facter updates for Ruby 1.9James Turnbull2009-02-041-4/+4
|
* Updated to version 1.5.3Luke Kanies2009-01-281-1/+1
|
* Fixing indentation everywhereLuke Kanies2009-01-151-5/+5
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Updated to version 1.5.2Luke Kanies2008-09-091-1/+1
|
* Updated to version 1.5.1Luke Kanies2008-08-271-1/+1
|
* Adjusted version to be in line with previous standardJames Turnbull2008-07-091-1/+1
|
* Updated to version 1.5Luke Kanies2008-07-081-1/+1
|
* Fixing some warnings in various classes.Luke Kanies2008-06-191-1/+1
|
* Fixes #1334 - Forced Facter to use LANG=CJames Turnbull2008-06-181-0/+3
|
* Reverting the version.Luke Kanies2008-05-191-1/+1
| | | | | | The releasing system automatically sets the version, and it fails if the current version is equal to the version being released.
* Incremented version number to 1.5James Turnbull2008-05-191-1/+1
|
* Switching to a search path registration system.Luke Kanies2008-05-161-0/+12
| | | | | Facter no longer knows anything about Puppet, so there's no inter-dependency issue.
* Updated version. Moved most facts to seperate files.James Turnbull2008-05-171-1/+1
|
* Facter no longer loads all facts by default.Luke Kanies2008-05-151-2/+0
| | | | | | | This should not have an impact on normal usage, since Facter loads them all on demand. It's much faster now for loading individual facts, though.
* Moving the version and ruby facts to a separate file.Luke Kanies2008-05-151-28/+0
|
* Switching Facter to using the new loader.Luke Kanies2008-05-151-44/+18
| | | | | This should make it possible to move all facts to separate files and only load them on demand.
* Moving all of the support classes to util/.Luke Kanies2008-05-151-3/+6
| | | | | This makes it easier for our loader to distinguish between code that Facter uses and new facts.
* Adding the 'each' method back into Facter.Luke Kanies2008-05-141-1/+1
| | | | | It's used by iClassify, and maybe others. I haven't made Facter enumerable again, but the collection is.
* Fixing warnings and interfaces.Luke Kanies2008-05-141-1/+1
| | | | | | | | I was getting warnings on OS X for the IPmess stuff; that's now fixed. Also, I got rid of the internal usage of the Facter.<factname> interface, as I want to get rid of it.
* Moving Facter's container behaviour into a separate class.Luke Kanies2008-05-141-64/+21
| | | | | | | | There's now no @@facts instance variable; instead, there's a collection, and it's responsible for keeping references to all of the facts. All of the old interface methods just delegate to the collection.
* Splitting the instance code into a Fact class.Luke Kanies2008-05-131-196/+14
| | | | | This allows the Facter class to become a module, and it is now much simpler.
* Splitting the different classes in Facter up, and adding some tests.Luke Kanies2008-05-131-203/+2
| | | | | The Confine and Resolution classes are now in separate files, and I've got tests for Confine.
* Split out facts from facter.rb and moved all support code to utilJames Turnbull2008-02-081-516/+0
|
* Fixed conflict mergeJames Turnbull2008-02-031-3/+0
|
* Revert "Fixed ticket #50 - added selinux facts"James Turnbull2008-02-031-0/+3
| | | | | | | | This reverts commit b3962ef307678d1be70ece96a284fdd2d63b064d. Conflicts: lib/facter.rb
* Added Ubuntu operatingsystem and operatingsystemrelease fact supportJames Turnbull2008-02-031-1/+13
|
* Added Debian release version supportJames Turnbull2008-02-021-0/+10
|
* Fixed ticket #50 - added selinux factsJames Turnbull2008-01-131-1/+11
| | | | Modified operatingsystemrelease fact behaviour for CentOS
* Fixed ticket #48 - CentOS operatingsystemrelease fact now reporting correct ↵James Turnbull2007-12-221-1/+1
| | | | value
* Added Mandrake support for operatingsystem fact - closed ticket #47James Turnbull2007-12-091-0/+2
| | | | | | Fixed ticket #45 Added netmask.rb closing ticket #46
* Updated to version 1.3.8Luke Kanies2007-09-241-1/+1
|
* Revert "Adjusted :kernel confine to make it more in line with others"James Turnbull2007-09-161-1/+1
| | | | This reverts commit c5e6f602ae71d43ec58b65ec6b2f4f540bc27649.
* Adjusted :kernel confine to make it more in line with othersroot2007-09-161-1/+1
| | | | Replaced initial ipmess.rb with updated version and added BSD support
* Added macaddress fact support for FreeBSD and OpenBSD - closes #37root2007-09-131-2/+37
| | | | | | Added hardwareisa support for *BSD platforms - closed #38 Facter now detects the Mandriva distribution - closes #39 Facter now correctly detects ipaddress on NetBSD - closes #42
* Drastically speeding up the lsb data retrieval, and refactoring the ↵luke2007-07-171-7/+11
| | | | | | dmidecode data so it is a bit cleaner and does not produce extraneous output or errors git-svn-id: http://reductivelabs.com/svn/facter/trunk@213 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Set operatingsystemrelease to the major release on RHEL and Fedoralutter2007-06-251-9/+37
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@212 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Setting the ldapname so it is guaranteed to be a stringluke2007-06-111-2/+2
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@205 1f5c1d6a-bddf-0310-8f58-fc49e503516a