summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'master' of git://github.com/jamtur01/facterLuke Kanies2008-06-024-88/+63
|\|
| * Refactor of netmask fact - fixes ticket #66James Turnbull2008-05-282-33/+38
| |
| * Fixes for ticket #60James Turnbull2008-05-222-55/+25
| |
* | Adding a timeout to fact retrieval, fixing #56.Luke Kanies2008-05-201-1/+11
| | | | | | | | | | The timeout is currently 0.5 seconds, which should generally be enough time.
* | 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.
* Added LSB Major Dist Release fact fixing #41James Turnbull2008-05-191-0/+16
|
* Added support for AIX fixing ticket #56James Turnbull2008-05-196-2/+55
|
* Incremented version number to 1.5James Turnbull2008-05-191-1/+1
|
* Switching to a search path registration system.Luke Kanies2008-05-162-12/+15
| | | | | Facter no longer knows anything about Puppet, so there's no inter-dependency issue.
* Moving the puppet-related loading tests to an integration test.Luke Kanies2008-05-161-3/+11
| | | | | | | | | I was previously creating a mock Puppet class, and this actually uses Puppet's code. Note that this use of Puppet creates some additional ordering problems, which I'm going to fix in the next commit by undoing all of this work. :)
* Retrieval of fact values now autoloads facts.Luke Kanies2008-05-161-1/+1
| | | | | I was only autoloading in certain circumstances, but it now autoloads any time you try to load a fact directly.
* Updated version. Moved most facts to seperate files.James Turnbull2008-05-1731-596/+467
|
* 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-152-28/+27
|
* Switching Facter to using the new loader.Luke Kanies2008-05-153-91/+53
| | | | | This should make it possible to move all facts to separate files and only load them on demand.
* Fixing the last few occurrences of Facter::Resolution instead of ↵Luke Kanies2008-05-153-8/+8
| | | | Facter::Util::Resolution.
* Moving all of the support classes to util/.Luke Kanies2008-05-156-15/+18
| | | | | This makes it easier for our loader to distinguish between code that Facter uses and new facts.
* Creating a 'loader' class to handle loading facts for the collection.Luke Kanies2008-05-151-0/+127
|
* Adding the 'each' method back into Facter.Luke Kanies2008-05-142-1/+13
| | | | | 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-144-4/+10
| | | | | | | | 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-142-64/+93
| | | | | | | | 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-134-207/+119
| | | | | This allows the Facter class to become a module, and it is now much simpler.
* Adding all of the tests for the Facter::Resolution class.Luke Kanies2008-05-131-72/+33
|
* Reorganizing my new tests so they match the autotest discovery.Luke Kanies2008-05-131-2/+0
|
* Simplifying Confine a bitLuke Kanies2008-05-131-16/+4
|
* Splitting the different classes in Facter up, and adding some tests.Luke Kanies2008-05-133-203/+209
| | | | | The Confine and Resolution classes are now in separate files, and I've got tests for Confine.
* fixing whitespaceLuke Kanies2008-05-131-30/+29
|
* Closes #1145 - fixed bad interface names by replacing : with _James Turnbull2008-03-201-3/+5
|
* Merge commit 'turnbull/master'Luke Kanies2008-02-182-118/+104
|\ | | | | | | | | | | Conflicts: lib/facter/ipmess.rb
| * Fixed Solaris detection of lo0 for ticket #46James Turnbull2008-02-161-1/+1
| |
| * Added require util ip.rb fileJames Turnbull2008-02-161-0/+62
| |
| * Fixed #46 - refactor ipmess.rbJames Turnbull2008-02-161-108/+23
| |
* | Merge branch 'os_split'Luke Kanies2008-02-1717-660/+833
|\ \ | |/ |/| | | | | | | Conflicts: lib/facter/ipmess.rb
| * Switching from test/unit to rspec, and fixing a coupleLuke Kanies2008-02-172-4/+6
| | | | | | | | of small test failures.
| * Added new filesJames Turnbull2008-02-0810-0/+773
| |
| * Further updates to split facts and move support functionsJames Turnbull2008-02-081-1/+1
| |
| * Split out facts from facter.rb and moved all support code to utilJames Turnbull2008-02-087-646/+53
| |
* | Added support for multiple interfaces, macaddress and netmask facts for ↵James Turnbull2008-02-071-5/+57
|/ | | | Linux, *BSD, and Solaris
* 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-093-1/+49
| | | | | | Fixed ticket #45 Added netmask.rb closing ticket #46
* Added index to imess.rb fixing Ticket #43.James Turnbull2007-11-081-15/+19
|
* Fixed ticket #44James Turnbull2007-11-051-2/+2
|
* 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-162-13/+13
| | | | This reverts commit c5e6f602ae71d43ec58b65ec6b2f4f540bc27649.
* Adjusted :kernel confine to make it more in line with othersroot2007-09-162-19/+59
| | | | Replaced initial ipmess.rb with updated version and added BSD support