Closed traylenator closed 9 months ago
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.
false
Cache=no
This patch maintains backwards compatibility in that the default still results in no modification to /etc/systemd/resolved.conf.
/etc/systemd/resolved.conf
However an explicit setting of cache => false with this patch will now add Cache=no to resolved.conf.
cache => false
resolved.conf
Pull Request (PR) description
Starting with
note that the cache parameter is currently
false
by default and an explicitCache=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 addCache=no
toresolved.conf
.