The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
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
This ticket may be automatically exported to the FACT project on JIRA using the button below:
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.