summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added support to return multiple interfaces and their IP addresses as facts. ↵James Turnbull2007-09-131-0/+45
| | | | Existing ipaddress fact which returns IP address of first interface on node is still available. Currently Linux only. Closes #6
* 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-172-13/+39
| | | | | | 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
* Remove tabs; don't fail if dmidecode doesn't return expected informationlutter2007-06-241-5/+6
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@211 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding manufacturer code, as requested by digant on the Puppet Trac site.luke2007-06-181-0/+25
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@210 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixed problem with executing system_profiler and sw_vers on non Darwin hosts.mccune2007-06-131-17/+19
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@208 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixed problem where facter referenced puppet plist utility library.mccune2007-06-131-2/+2
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@207 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Added a bunch of information from system_profiler -xml. In particular, ↵mccune2007-06-134-0/+559
| | | | | | sp_serial_number is interesting. Also added values from sw_vers, to get the commonly used Mac OS X version and build identifier. git-svn-id: http://reductivelabs.com/svn/facter/trunk@206 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
* Applying patch from Valentin Vidic, fixing open filehandlesluke2007-06-051-1/+3
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@204 1f5c1d6a-bddf-0310-8f58-fc49e503516a