diff options
author | Luke Kanies <luke@madstop.com> | 2009-01-04 17:29:59 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-01-15 12:55:28 -0600 |
commit | aa56886b1143d49173f4878a41107f55fece529c (patch) | |
tree | 43ce6e3cec4250de4c40457593da2e8897d7e325 /lib/facter/hostname.rb | |
parent | 91e25b9cc12fcb5e8d684b6258aec20735b992e1 (diff) | |
download | facter-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/hostname.rb')
0 files changed, 0 insertions, 0 deletions