| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Added facts arp (like the ipaddress etc) facts
Added facts arp_interfacename
|
|
|
|
|
|
|
|
|
|
| |
1. Fixed IP return to not filter lo/localhost and return it
as a proper interface
2. Fixed HP-UX netstat return to remove extraneous first line
of naming.
3. Updated tests to reflect changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that IPocalypse has happened, IPv6 support in Facter core would be nice to
have. So, we add the appropriate code to start handling that.
The ipaddress6 fact as supplied included some smart code to try determining
the "primary" address using DNS to resolve the AAAA record for the host FQDN.
While this was smart, it actually didn't work: facter prefers the longest
confine list, so the *stupid* mechanisms that were kernel-specific would
override the smarter and more portable mechanisms.
We strip that code out for now, which also brings this into line with the
existing ipaddress fact; improving both would be good, but it should be uniform.
Paired-With: Matt Robinson <matt@puppetlabs.com>
Paired-With: Max Martin <max@puppetlabs.com>
|
|
|
|
|
|
|
|
|
| |
Merged manually to the current state of the art. Minimal conflicts resolved
by adding both Darwin and GNU/KFreeBSD to the confine lines.
Author: Marc Fournier <marc.fournier@camptocamp.com>
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
Signed-off-by: Rick Bradley <rick@rickbradley.com>
|
|
|
|
| |
Includes Rspec tests
|
|
|
|
| |
Thanks to Tim Sharpe for the fix
|
| |
|
|
|
|
|
| |
Solaris orders inet and inet6 seperately. This tests for and fixes this by
uniqueing the list. Will probably need work when we get to ipv6 support.
|
|
|
|
| |
Added a test to pickup typo and fix
|
| |
|
|
|
|
|
|
|
|
| |
The interface collection regex was leaving trailing
':' characters on the interface names, which meant
individual interfaces weren't quite right.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
|
|
|
|
| |
address by default
|
|
|
|
| |
aliased interfaces.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|