puppet-network
puppet-network copied to clipboard
Debian include for $config_file_per_interface is too restrictive
Expected Behavior
When using $config_file_per_interface on Debian, /etc/network/interfaces should source everything in /etc/network/interfaces.d/ This breaks some tools that configure additional interfaces out of puppet control.
Actual Behavior
source is restricted to /etc/network/interfaces.d/*.cfg
Specifications
puppet6, on master branch, debian 10
Proposed fix
Remove ".cfg" from this line https://github.com/example42/puppet-network/blob/9ebd4e4d5dd6908b1217bc0c4bb4194f70014a13/manifests/interface.pp#L732