2 Commits

Author SHA1 Message Date
Gilles Dubreuil
11a0619a29 Adds IPv6 support for interface_for_ip function
Proper interface matching when an IPv6 address is provided.

If Facter version used is < 3 then it adds the netmask6 facts as custom facts.

Fix bugs https://bugzilla.redhat.com/show_bug.cgi?id=1280523

Change-Id: Ide26ca1740dc12ea5f47a28f4cecacd6ef0b18f9
2015-12-15 17:07:57 +11:00
Dan Prince
10ac6980f9 Add interface_for_ip function
This patch adds a custom Puppet function called interface_for_ip
This function will be used within the TripleO puppet implementation
to help obtain the correct interface for a given IP address.

Change-Id: I0979f69a49052fda888277fa64ebeadc038bc778
2015-06-03 10:51:29 -04:00