Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Renaming Facter::Macosx to Facter::Util::Macosx | Luke Kanies | 2009-01-27 | 1 | -13/+13 | |
| | | | | | | This name change just reflects the file location. Signed-off-by: Luke Kanies <luke@madstop.com> | |||||
* | Fixing #1838 - profiler failures don't throw exceptions | Luke Kanies | 2009-01-27 | 1 | -0/+47 | |
| | | | | | | | Also added tests to the macosx code; it's much cleaner and actually tested now. Signed-off-by: Luke Kanies <luke@madstop.com> | |||||
* | Added network fact | James Turnbull | 2009-01-27 | 1 | -0/+6 | |
| | ||||||
* | Fixed #1870 - Format all subnet masks as human-readable | James Turnbull | 2009-01-27 | 1 | -0/+17 | |
| | ||||||
* | Refactor - rename ipmess to interfaces | Paul Nasrat | 2009-01-24 | 1 | -1/+1 | |
| | ||||||
* | Fix bug #1870 and add interface fact support for darwin systems | Paul Nasrat | 2009-01-15 | 2 | -1/+37 | |
| | ||||||
* | Refactoring the IP support, and fixing #1846. | Luke Kanies | 2009-01-15 | 3 | -8/+71 | |
| | | | | | | | | | | | | | | | | I've made the IPMess stuff a lot less messy, and refactored a lot of the util/ip module, including naming it more sensibly. The biggest changes are that I moved the big case statement into a constant and then used a bit of dispatch-style logic to use it, and I eliminated a bunch of duplicate code in the ipmess.rb file. Added some test data for FreeBSD and fixed a bug in my map logic pointed out by Paul Nasrat. I've also fixed #1846, in that the interface list now s/:/_/g. Signed-off-by: Luke Kanies <luke@madstop.com> | |||||
* | Fixing indentation everywhere | Luke Kanies | 2009-01-15 | 4 | -8/+5 | |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | |||||
* | Added a Process.waitall thread when there's a timeout, to avoid zombies. | Luke Kanies | 2008-08-18 | 1 | -0/+11 | |
| | | | | Without this call, every time there's a timeout, we'll get a zombie. | |||||
* | Merge commit 'pnasrat/tickets/1422' | Luke Kanies | 2008-08-18 | 1 | -2/+2 | |
|\ | ||||||
| * | Facter fix #1422, no default timeout | Paul Nasrat | 2008-08-18 | 1 | -2/+2 | |
| | | ||||||
* | | Add unit rspec tests for ticket 1425 | Paul Nasrat | 2008-08-13 | 2 | -0/+13 | |
| | | ||||||
* | | Extract ifconfig output to data directory | Paul Nasrat | 2008-08-13 | 2 | -22/+22 | |
| | | ||||||
* | | Add sample test and strawman solution for IP parsing code | Paul Nasrat | 2008-08-11 | 1 | -0/+30 | |
| | | ||||||
* | | Add module level tests for Facter::IPAddress | Paul Nasrat | 2008-08-11 | 1 | -0/+18 | |
|/ | ||||||
* | Retaining 'timeout' as the settor, but using 'limit' as the getter. | Luke Kanies | 2008-06-20 | 2 | -5/+19 | |
| | | | | | | | I don't like using Fact.add(:fact, :limit => 5), so I added a little extra code to allow us to continue using ':timeout => 5', but use 'limit' for retrieving the value, to avoid the conflict Steve Hajducko is seeing. | |||||
* | Changed 'timeout' option to 'limit' | Steven Hajducko | 2008-06-19 | 2 | -6/+6 | |
| | | | | | This was done to avoid a possible variable scoping issue that was occuring on some AIX systems. | |||||
* | Refactored so each fact resolution can specify a separate timeout, | Luke Kanies | 2008-06-17 | 3 | -7/+56 | |
| | | | | | | but the default is still 0.5. Set the timeout on the AIX kernelrelease fact to 5 seconds. | |||||
* | Removing old test/unit tests. | Luke Kanies | 2008-05-20 | 1 | -582/+0 | |
| | ||||||
* | Adding a timeout to fact retrieval, fixing #56. | Luke Kanies | 2008-05-20 | 1 | -0/+7 | |
| | | | | | The timeout is currently 0.5 seconds, which should generally be enough time. | |||||
* | Switching to a search path registration system. | Luke Kanies | 2008-05-16 | 2 | -0/+32 | |
| | | | | | 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 | -31/+0 | |
| | | | | | | | | | 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/+6 | |
| | | | | | I was only autoloading in certain circumstances, but it now autoloads any time you try to load a fact directly. | |||||
* | Switching Facter to using the new loader. | Luke Kanies | 2008-05-15 | 3 | -0/+100 | |
| | | | | | This should make it possible to move all facts to separate files and only load them on demand. | |||||
* | Fixing the test so it doesn't break other tests. | Luke Kanies | 2008-05-15 | 1 | -1/+13 | |
| | | | | | | It creates a constant that affects loader behaviour, which causes other tests to break if the constant is present but not functional. | |||||
* | Moving all of the support classes to util/. | Luke Kanies | 2008-05-15 | 5 | -85/+85 | |
| | | | | | 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/+190 | |
| | ||||||
* | Adding the 'each' method back into Facter. | Luke Kanies | 2008-05-14 | 2 | -0/+51 | |
| | | | | | It's used by iClassify, and maybe others. I haven't made Facter enumerable again, but the collection is. | |||||
* | Moving Facter's container behaviour into a separate class. | Luke Kanies | 2008-05-14 | 2 | -28/+166 | |
| | | | | | | | | 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 | -24/+141 | |
| | | | | | 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 | -0/+184 | |
| | ||||||
* | Reorganizing my new tests so they match the autotest discovery. | Luke Kanies | 2008-05-13 | 2 | -1/+9 | |
| | ||||||
* | Splitting the different classes in Facter up, and adding some tests. | Luke Kanies | 2008-05-13 | 2 | -23/+88 | |
| | | | | | The Confine and Resolution classes are now in separate files, and I've got tests for Confine. | |||||
* | removing .swp file | Luke Kanies | 2008-02-17 | 1 | -0/+0 | |
| | ||||||
* | Switching from test/unit to rspec, and fixing a couple | Luke Kanies | 2008-02-17 | 2 | -0/+651 | |
of small test failures. |