aboutsummaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions/interface_for_ip.rb
AgeCommit message (Collapse)AuthorFilesLines
2015-12-15Adds IPv6 support for interface_for_ip functionGilles Dubreuil1-13/+19
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-06-03Add interface_for_ip functionDan Prince1-0/+33
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