Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactoring the IP support, and fixing #1846. | Luke Kanies | 2009-01-15 | 1 | -29/+49 |
| | | | | | | | | | | | | | | | | 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 | 6 | -127/+124 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixed #1793 - Added more Solaris 10 facts | James Turnbull | 2008-12-22 | 1 | -5/+13 |
| | |||||
* | Fixes #1582 - Fix MAC address reporting for Linux bonding slave interfaces | James Turnbull | 2008-09-20 | 1 | -14/+43 |
| | |||||
* | Fixed #1559 - update to dmidecode fact | James Turnbull | 2008-09-05 | 1 | -2/+2 |
| | |||||
* | Added a Process.waitall thread when there's a timeout, to avoid zombies. | Luke Kanies | 2008-08-18 | 1 | -0/+5 |
| | | | | 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 | -1/+1 |
|\ | |||||
| * | Facter fix #1422, no default timeout | Paul Nasrat | 2008-08-18 | 1 | -1/+1 |
| | | |||||
* | | Add unit rspec tests for ticket 1425 | Paul Nasrat | 2008-08-13 | 1 | -3/+13 |
| | | |||||
* | | Add sample test and strawman solution for IP parsing code | Paul Nasrat | 2008-08-11 | 1 | -8/+14 |
| | | |||||
* | | Fix ticket 1425 on Solaris | Paul Nasrat | 2008-08-08 | 1 | -1/+7 |
| | | |||||
* | | Remove duplicated code paths | Paul Nasrat | 2008-08-08 | 1 | -36/+4 |
|/ | | | | Signed-off-by: Paul Nasrat <pnasrat@googlemail.com> | ||||
* | Bug #1434 Don't execute which on windows | Paul Nasrat | 2008-07-17 | 1 | -2/+7 |
| | |||||
* | Merge branch 'master' of git://reductivelabs.com/facter | James Turnbull | 2008-07-08 | 1 | -0/+2 |
|\ | |||||
| * | Adding a default case for the manufacturer information. | Luke Kanies | 2008-07-01 | 1 | -0/+2 |
| | | |||||
* | | Fixed formatting | James Turnbull | 2008-07-08 | 1 | -8/+8 |
|/ | |||||
* | Further fixes #1378 - updated dmidecode for NetBSD | James Turnbull | 2008-06-22 | 1 | -1/+5 |
| | |||||
* | Fixes #1378 - update manufacter.rb facts to support BSD | James Turnbull | 2008-06-21 | 1 | -4/+11 |
| | |||||
* | Partial fix for #1345 - BSD interfaces with aliases now select the first ↵ | James Turnbull | 2008-06-21 | 1 | -3/+3 |
| | | | | address by default | ||||
* | Retaining 'timeout' as the settor, but using 'limit' as the getter. | Luke Kanies | 2008-06-20 | 1 | -2/+9 |
| | | | | | | | 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 | 1 | -3/+3 |
| | | | | | This was done to avoid a possible variable scoping issue that was occuring on some AIX systems. | ||||
* | Fixing some warnings in various classes. | Luke Kanies | 2008-06-19 | 2 | -2/+2 |
| | |||||
* | 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 | 3 | -18/+45 |
| | | | | | | 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 | 1 | -5/+35 |
|\ | |||||
| * | Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD ↵ | James Turnbull | 2008-06-09 | 1 | -5/+35 |
| | | | | | | | | aliased interfaces. | ||||
* | | Merge branch 'master' of git://github.com/jamtur01/facter | Luke Kanies | 2008-06-02 | 2 | -44/+57 |
|\| | |||||
| * | Refactor of netmask fact - fixes ticket #66 | James Turnbull | 2008-05-28 | 1 | -0/+36 |
| | | |||||
| * | Fixes for ticket #60 | James Turnbull | 2008-05-22 | 1 | -44/+21 |
| | | |||||
* | | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | Moving all of the support classes to util/. | Luke Kanies | 2008-05-15 | 5 | -0/+461 |
| | | | | | This makes it easier for our loader to distinguish between code that Facter uses and new facts. | ||||
* | Fixing warnings and interfaces. | Luke Kanies | 2008-05-14 | 1 | -1/+7 |
| | | | | | | | | 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. | ||||
* | Merge commit 'turnbull/master' | Luke Kanies | 2008-02-18 | 1 | -0/+62 |
|\ | | | | | | | | | | | 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 |
| | | |||||
* | | Added new files | James Turnbull | 2008-02-08 | 3 | -0/+153 |
|/ | |||||
* | Fixed problem where facter referenced puppet plist utility library. | mccune | 2007-06-13 | 1 | -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, ↵ | mccune | 2007-06-13 | 3 | -0/+477 |
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 |