diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index ba56607163..f8c3125dfa 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -39,6 +39,12 @@ class unbound ( ensure => present, require => File['/etc/default/unbound'], } + + # Make sure resolvconf is enabled (which is the default). + exec {'enable-resolvconf': + command => '/sbin/resolvconf --enable-updates', + creates => '/var/run/resolvconf/enable-updates', + } } # Ubuntu uses resolvconf which will update resolv.conf to point to