summaryrefslogtreecommitdiffstats
path: root/lib/facter.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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
* 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-301-33/+34
| | | | | | 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
* Adding the ability to specify tags as hashes or arrays, as requested in #112.luke2006-05-301-3/+17
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@117 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Getting rid of the autoload method entirely; facts are now only loaded at ↵luke2006-05-301-16/+7
| | | | | | startup. git-svn-id: http://reductivelabs.com/svn/facter/trunk@116 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Accepting the patch in #9, with some modifications.luke2006-05-301-31/+14
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@113 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.2.1luke2006-05-231-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@110 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* fixing small bug that only occurs with gemsluke2006-05-231-2/+2
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@109 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.2.0luke2006-05-231-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@107 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding final autoloading work.luke2006-05-231-23/+56
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@106 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding ruby, puppet, and facter version factsluke2006-05-231-0/+20
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@103 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Added "architecture" fact, added the ability to autoload facts from separate ↵luke2006-05-231-3/+44
| | | | | | files, and added the ability to retrieve fact values via a method for each fact. git-svn-id: http://reductivelabs.com/svn/facter/trunk@101 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Accepting the patch from #5luke2006-05-161-63/+14
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@100 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.1.4luke2006-02-281-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@93 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.1.3luke2006-02-231-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@90 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Identifying centosluke2006-02-231-1/+6
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@88 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.1.2luke2006-02-171-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@85 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding ldapname capabilitiesluke2006-02-171-5/+17
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@84 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.1.1luke2006-01-101-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@78 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Fixing bug when a fact with no resolutions is asked forluke2006-01-101-10/+16
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@76 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Updated to version 1.1.0luke2006-01-091-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@74 1f5c1d6a-bddf-0310-8f58-fc49e503516a