puppet-network icon indicating copy to clipboard operation
puppet-network copied to clipboard

Debian include for $config_file_per_interface is too restrictive

Open cgoubert opened this issue 4 years ago • 0 comments

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

cgoubert avatar Sep 05 '20 04:09 cgoubert