summaryrefslogtreecommitdiffstats
path: root/lib/facter/id.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-01-04 17:29:59 -0600
committerLuke Kanies <luke@madstop.com>2009-01-15 12:55:28 -0600
commitaa56886b1143d49173f4878a41107f55fece529c (patch)
tree43ce6e3cec4250de4c40457593da2e8897d7e325 /lib/facter/id.rb
parent91e25b9cc12fcb5e8d684b6258aec20735b992e1 (diff)
downloadfacter-aa56886b1143d49173f4878a41107f55fece529c.tar.gz
facter-aa56886b1143d49173f4878a41107f55fece529c.tar.xz
facter-aa56886b1143d49173f4878a41107f55fece529c.zip
Refactoring the IP support, and fixing #1846.
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>
Diffstat (limited to 'lib/facter/id.rb')
0 files changed, 0 insertions, 0 deletions