Getting the interface that matches an IP in Puppet