voxpupuli / puppet-systemd

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

systemd::cache = false result was vague. #403

Closed traylenator closed 9 months ago

traylenator commented 9 months ago

Pull Request (PR) description

Starting with

class{ 'systemd':
  manage_reolved => true,
  cache          => false,
}

note that the cache parameter is currently false by default and an explicit Cache=no would not be set. Instead nothing would be done.

This patch maintains backwards compatibility in that the default still results in no modification to /etc/systemd/resolved.conf.

However an explicit setting of cache => false with this patch will now add Cache=no to resolved.conf.