The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #3713

ipaddress fact doesn't function properly with dummy interfaces (linux)

Added by Benjamin Kite over 4 years ago. Updated over 3 years ago.

Status:Needs DecisionStart date:05/03/2010
Priority:NormalDue date:
Assignee:Paul Nasrat% Done:

0%

Category:library
Target version:-
Keywords: Affected Facter version:
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the FACT project on JIRA using the button below:


Description

Since dummy devices appear alphabetically before eth devices under linux, the dummy device IP is taking precedence over eth0, making the default IP the dummy one (probably not the best idea, especially if you re-use your dummy address).

A simple fix might be to apply similar logic as later in the file, which presumes the default route is on the “lead” interface. A patch to this effect is attached.

ipaddress.patch Magnifier - remedy patch (1.07 KB) Benjamin Kite, 05/03/2010 05:15 pm

History

#1 Updated by James Turnbull about 4 years ago

  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Paul Nasrat

You’re probably closer to this than me Paul.

#2 Updated by Ben Hughes over 3 years ago

Good day. Am just checking up on old tickets. Is this one still live, or may it be closed please? If it’s just a decision making, can someone make it please?

Ta.

Also available in: Atom PDF