The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
ipaddress fact doesn't function properly with dummy interfaces (linux)
|Status:||Needs Decision||Start date:||05/03/2010|
|Assignee:||Paul Nasrat||% Done:|
|Keywords:||Affected Facter version:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
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.