voxpupuli / puppet-network

Types and providers to manage network interfaces
https://forge.puppet.com/puppet/network
Apache License 2.0
66 stars 107 forks source link

Use confine to ensure `ip` is available for network fact #265

Closed runejuhl closed 4 years ago

runejuhl commented 4 years ago

Pull Request (PR) description

This PR adds confines to the facts network_nexthop_ip , network_primary_interface and network_primary_ip to avoid ugly errors when ip (from iproute2) is unavailable.

This Pull Request (PR) fixes the following issues

None