Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Rejustifying all of the whitespace in the facts, yay. | Luke Kanies | 2008-06-17 | 21 | -518/+511 | |
| | | ||||||
* | | Refactoring how recursive searches are detected. | Luke Kanies | 2008-06-17 | 1 | -19/+37 | |
| | | | | | | | | | | | | Using a yield hook instead of just setting @searching to be true, which should be more consistent because @searching will now always be turned off at the end of the search. | |||||
* | | Refactored so each fact resolution can specify a separate timeout, | Luke Kanies | 2008-06-17 | 4 | -19/+46 | |
|/ | | | | | | but the default is still 0.5. Set the timeout on the AIX kernelrelease fact to 5 seconds. | |||||
* | Merge commit 'turnbull/master' | Luke Kanies | 2008-06-09 | 2 | -13/+73 | |
|\ | ||||||
| * | Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD ↵ | James Turnbull | 2008-06-09 | 2 | -13/+73 | |
| | | | | | | | | aliased interfaces. | |||||
* | | Merge branch 'master' of git://github.com/jamtur01/facter | Luke Kanies | 2008-06-02 | 4 | -88/+63 | |
|\| | ||||||
| * | Refactor of netmask fact - fixes ticket #66 | James Turnbull | 2008-05-28 | 2 | -33/+38 | |
| | | ||||||
| * | Fixes for ticket #60 | James Turnbull | 2008-05-22 | 2 | -55/+25 | |
| | | ||||||
* | | Adding a timeout to fact retrieval, fixing #56. | Luke Kanies | 2008-05-20 | 1 | -1/+11 | |
|/ | | | | | The timeout is currently 0.5 seconds, which should generally be enough time. | |||||
* | Added LSB Major Dist Release fact fixing #41 | James Turnbull | 2008-05-19 | 1 | -0/+16 | |
| | ||||||
* | Added support for AIX fixing ticket #56 | James Turnbull | 2008-05-19 | 6 | -2/+55 | |
| | ||||||
* | Switching to a search path registration system. | Luke Kanies | 2008-05-16 | 1 | -12/+3 | |
| | | | | | 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 Kanies | 2008-05-16 | 1 | -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 Kanies | 2008-05-16 | 1 | -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 Turnbull | 2008-05-17 | 30 | -595/+466 | |
| | ||||||
* | Moving the version and ruby facts to a separate file. | Luke Kanies | 2008-05-15 | 1 | -0/+27 | |
| | ||||||
* | Switching Facter to using the new loader. | Luke Kanies | 2008-05-15 | 2 | -47/+35 | |
| | | | | | 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 Kanies | 2008-05-15 | 3 | -8/+8 | |
| | | | | Facter::Util::Resolution. | |||||
* | Moving all of the support classes to util/. | Luke Kanies | 2008-05-15 | 5 | -12/+12 | |
| | | | | | 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 Kanies | 2008-05-15 | 1 | -0/+127 | |
| | ||||||
* | Adding the 'each' method back into Facter. | Luke Kanies | 2008-05-14 | 1 | -0/+12 | |
| | | | | | It's used by iClassify, and maybe others. I haven't made Facter enumerable again, but the collection is. | |||||
* | Fixing warnings and interfaces. | Luke Kanies | 2008-05-14 | 3 | -3/+9 | |
| | | | | | | | | 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 Kanies | 2008-05-14 | 1 | -0/+72 | |
| | | | | | | | | 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 Kanies | 2008-05-13 | 3 | -11/+105 | |
| | | | | | 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 Kanies | 2008-05-13 | 1 | -72/+33 | |
| | ||||||
* | Reorganizing my new tests so they match the autotest discovery. | Luke Kanies | 2008-05-13 | 1 | -2/+0 | |
| | ||||||
* | Simplifying Confine a bit | Luke Kanies | 2008-05-13 | 1 | -16/+4 | |
| | ||||||
* | Splitting the different classes in Facter up, and adding some tests. | Luke Kanies | 2008-05-13 | 2 | -0/+207 | |
| | | | | | The Confine and Resolution classes are now in separate files, and I've got tests for Confine. | |||||
* | fixing whitespace | Luke Kanies | 2008-05-13 | 1 | -30/+29 | |
| | ||||||
* | Closes #1145 - fixed bad interface names by replacing : with _ | James Turnbull | 2008-03-20 | 1 | -3/+5 | |
| | ||||||
* | Merge commit 'turnbull/master' | Luke Kanies | 2008-02-18 | 2 | -118/+104 | |
|\ | | | | | | | | | | | Conflicts: lib/facter/ipmess.rb | |||||
| * | Fixed Solaris detection of lo0 for ticket #46 | James Turnbull | 2008-02-16 | 1 | -1/+1 | |
| | | ||||||
| * | Added require util ip.rb file | James Turnbull | 2008-02-16 | 1 | -0/+62 | |
| | | ||||||
| * | Fixed #46 - refactor ipmess.rb | James Turnbull | 2008-02-16 | 1 | -108/+23 | |
| | | ||||||
* | | Merge branch 'os_split' | Luke Kanies | 2008-02-17 | 16 | -144/+833 | |
|\ \ | |/ |/| | | | | | | | Conflicts: lib/facter/ipmess.rb | |||||
| * | Switching from test/unit to rspec, and fixing a couple | Luke Kanies | 2008-02-17 | 2 | -4/+6 | |
| | | | | | | | | of small test failures. | |||||
| * | Added new files | James Turnbull | 2008-02-08 | 10 | -0/+773 | |
| | | ||||||
| * | Further updates to split facts and move support functions | James Turnbull | 2008-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | Split out facts from facter.rb and moved all support code to util | James Turnbull | 2008-02-08 | 6 | -130/+53 | |
| | | ||||||
* | | Added support for multiple interfaces, macaddress and netmask facts for ↵ | James Turnbull | 2008-02-07 | 1 | -5/+57 | |
|/ | | | | Linux, *BSD, and Solaris | |||||
* | Added Mandrake support for operatingsystem fact - closed ticket #47 | James Turnbull | 2007-12-09 | 2 | -1/+47 | |
| | | | | | | Fixed ticket #45 Added netmask.rb closing ticket #46 | |||||
* | Added index to imess.rb fixing Ticket #43. | James Turnbull | 2007-11-08 | 1 | -15/+19 | |
| | ||||||
* | Fixed ticket #44 | James Turnbull | 2007-11-05 | 1 | -2/+2 | |
| | ||||||
* | Revert "Adjusted :kernel confine to make it more in line with others" | James Turnbull | 2007-09-16 | 1 | -12/+12 | |
| | | | | This reverts commit c5e6f602ae71d43ec58b65ec6b2f4f540bc27649. | |||||
* | Adjusted :kernel confine to make it more in line with others | root | 2007-09-16 | 1 | -18/+58 | |
| | | | | Replaced initial ipmess.rb with updated version and added BSD support | |||||
* | Added support to return multiple interfaces and their IP addresses as facts. ↵ | James Turnbull | 2007-09-13 | 1 | -0/+45 | |
| | | | | Existing ipaddress fact which returns IP address of first interface on node is still available. Currently Linux only. Closes #6 | |||||
* | Drastically speeding up the lsb data retrieval, and refactoring the ↵ | luke | 2007-07-17 | 1 | -6/+28 | |
| | | | | | | 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 | |||||
* | Remove tabs; don't fail if dmidecode doesn't return expected information | lutter | 2007-06-24 | 1 | -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. | luke | 2007-06-18 | 1 | -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. | mccune | 2007-06-13 | 1 | -17/+19 | |
| | | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@208 1f5c1d6a-bddf-0310-8f58-fc49e503516a |