summaryrefslogtreecommitdiffstats
path: root/lib/facter/util/ip.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring the IP support, and fixing #1846.Luke Kanies2009-01-151-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 everywhereLuke Kanies2009-01-151-75/+76
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixes #1582 - Fix MAC address reporting for Linux bonding slave interfacesJames Turnbull2008-09-201-14/+43
|
* Add unit rspec tests for ticket 1425Paul Nasrat2008-08-131-3/+13
|
* Add sample test and strawman solution for IP parsing codePaul Nasrat2008-08-111-8/+14
|
* Fix ticket 1425 on SolarisPaul Nasrat2008-08-081-1/+7
|
* Remove duplicated code pathsPaul Nasrat2008-08-081-36/+4
| | | | Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
* Partial fix for #1345 - BSD interfaces with aliases now select the first ↵James Turnbull2008-06-211-3/+3
| | | | address by default
* Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD ↵James Turnbull2008-06-091-5/+35
| | | | aliased interfaces.
* Fixing warnings and interfaces.Luke Kanies2008-05-141-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.
* Fixed Solaris detection of lo0 for ticket #46James Turnbull2008-02-161-1/+1
|
* Added require util ip.rb fileJames Turnbull2008-02-161-0/+62