Disable resolvconf on ubuntu
And just use a static resolv.conf file instead. There are too many conditions in which resolvconf might find itself, and this is much simpler anyway. Change-Id: I71b80e533afa93a659c634db5e6b9abf6134ab58
This commit is contained in:
parent
8d9f12a278
commit
2f89f3b028
@ -40,10 +40,13 @@ class unbound (
|
||||
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',
|
||||
# Rackspace uses static config files
|
||||
file { '/etc/resolv.conf':
|
||||
content => "nameserver 127.0.0.1\n",
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
require => Service['unbound'],
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user