summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Updated to version 1.3.4luke2006-09-221-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@174 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding patch from #21, adding lsb_release factsluke2006-09-201-0/+15
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@171 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* applying patch from #18.luke2006-09-191-26/+16
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@169 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding fqdn factluke2006-09-191-0/+12
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@166 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing #20. I just made sure that the Domain fact cchecks the hostname ↵luke2006-09-141-3/+8
| | | | | | first, so that if the hostname is an fqdn it will set the domain from that. git-svn-id: http://reductivelabs.com/svn/facter/trunk@165 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying patch in #23.luke2006-09-141-2/+36
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@163 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Applying memfree patch from #17.luke2006-09-141-2/+8
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@162 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3.3luke2006-06-281-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@153 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding the ability to retrieve facts from the environment.luke2006-06-281-0/+9
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@151 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3.2luke2006-06-271-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@149 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding thread exclusivity to memory and cpu readingluke2006-06-272-9/+17
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@147 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Re-adding these files, since Matt has found a solution to the hanging problem.luke2006-06-272-0/+106
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@146 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* removing processor.rb in case it has the same problems as the memory fileluke2006-06-261-48/+0
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@145 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Deleting this file until the hanging problems are resolvedluke2006-06-261-58/+0
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@144 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* fixing license issuesluke2006-06-201-4/+15
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@143 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3.1luke2006-06-201-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@139 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* adding a call to dnsdomainname before domainnameluke2006-06-191-0/+12
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@137 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing #15. Just adding rescue blocks around the load statements.luke2006-06-191-1/+6
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@136 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.3luke2006-06-091-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@131 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding tagging frameworks back into Facter, and adding the ability to ↵luke2006-05-311-21/+71
| | | | | | specify tags to the to_hash method so that you only receive facts tagged with specific tags git-svn-id: http://reductivelabs.com/svn/facter/trunk@126 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* fixing the linux processor stuff so it only gets called on linuxluke2006-05-311-19/+22
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@125 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* changing the syntax of the fact confinesluke2006-05-311-17/+13
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@124 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding rubysitedir fact, as requested in #13. Also, switching the output ↵luke2006-05-311-0/+9
| | | | | | when one fact is asked for, so it only produces the single value, with no => symbol. git-svn-id: http://reductivelabs.com/svn/facter/trunk@122 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Switching "tag" to "confine", because it is a more appropriate term. I will ↵luke2006-05-303-36/+37
| | | | | | also add "tags", but they will be used for creating fact collections. git-svn-id: http://reductivelabs.com/svn/facter/trunk@120 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding patch from #11, with slight modifications.luke2006-05-301-2/+2
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@119 1f5c1d6a-bddf-0310-8f58-fc49e503516a