Module: Puppet::Parser::Functions

Defined in:
lib/puppet/parser/functions/interface_for_ip.rb,
lib/puppet/parser/functions/local_fence_devices.rb

Overview

Custom function to lookup the interface which matches the subnet of the provided IP address. The function iterates over all the interfaces and chooses the first locally assigned interface which matches the IP.