From: Peter Palfrader Date: Sat, 18 Mar 2017 19:21:27 +0000 (+0000) Subject: fix unbound check in resolv.conf template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ec3b198843651d078ae4505413daeb5cf5cc1d18;p=mirror%2Fdsa-puppet.git fix unbound check in resolv.conf template --- diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index a42aa25d4..773337420 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -15,7 +15,7 @@ if %w{draghi}.include?(@hostname) end nameservers += @ns -if @unbound && @unbound == "true" +if @unbound nameservers = ['127.0.0.1'] end