diff options
-rw-r--r-- | manifests/subsystem/resolver.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystem/resolver.pp b/manifests/subsystem/resolver.pp index 2d784a1..cca7609 100644 --- a/manifests/subsystem/resolver.pp +++ b/manifests/subsystem/resolver.pp @@ -23,5 +23,17 @@ class nodo::subsystem::resolver( nameservers => $nameservers, } } + unmanage: { + package { 'resolvconf': + ensure => absent, + } + + file { '/etc/resolv.conf': + ensure => present, + owner => root, + group => root, + mode => '0644', + } + } } } |