summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Updated to version 1.3.7luke2007-03-211-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@202 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Using consistent naming internally; I previously had essentially random ↵luke2007-03-211-59/+56
| | | | | | quoting and case, but it is now all lower-case symbols. It should behave the same externally. git-svn-id: http://reductivelabs.com/svn/facter/trunk@200 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying patch from #36 by psychedelysluke2007-03-211-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@199 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing Facter.flushluke2007-03-211-13/+13
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@198 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing #33 -- we now only return the first mac addressluke2007-03-211-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@197 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying patch from Adam Jacob that makes FACTERLIB workluke2007-03-211-12/+26
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@196 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying patch from #35.luke2007-02-241-1/+3
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@195 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing bug where an up interface not in active use was being selected as the ↵ajax2007-01-301-1/+31
| | | | | | canonical IP instead of using the IP attached to the interface assigned the default route. git-svn-id: http://reductivelabs.com/svn/facter/trunk@194 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3.6luke2007-01-191-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@190 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying patch from #29.luke2007-01-041-2/+2
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@186 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing ssh key facts so they only include the key, not the type.luke2007-01-041-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@185 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Do not try and check the command if which is not available; fixes trac #30lutter2006-11-081-11/+22
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@182 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3.5luke2006-09-291-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@179 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing #26 -- using Resolution.exec instead of executing directly, and also ↵luke2006-09-291-12/+15
| | | | | | calling lsb_release for every fact, instead of just once at startup git-svn-id: http://reductivelabs.com/svn/facter/trunk@177 1f5c1d6a-bddf-0310-8f58-fc49e503516a