voxpupuli / puppet-systemd

Puppet module to manage systemd
https://forge.puppet.com/puppet/systemd
Apache License 2.0
54 stars 142 forks source link

Add dropin file support for `.network` files for networkd #494

Open choffee opened 1 day ago

choffee commented 1 day ago

Affected Puppet, Ruby, OS and module versions/distributions

Since systemd 232 it has supported dropin files for network interfaces. It would be good to get support here for those as well.

eg /etc/systemd/network/eth0.network.d/routes.conf

kenyon commented 1 day ago

I guess the implication is that you're not puppet-managing the .network files, but you just want to puppet-manage some modifications using the dropin. I haven't found a need for this because I have been managing the .network files, but I suppose this could be useful in some use cases. It's analogous to managing dropin files for service units, but not managing service units themselves because the package management system does that.