fix unbound check in resolv.conf template
authorPeter Palfrader <peter@palfrader.org>
Sat, 18 Mar 2017 19:21:27 +0000 (19:21 +0000)
committerPeter Palfrader <peter@palfrader.org>
Sat, 18 Mar 2017 19:21:27 +0000 (19:21 +0000)
modules/resolv/templates/resolv.conf.erb

index a42aa25..7733374 100644 (file)
@@ -15,7 +15,7 @@ if %w{draghi}.include?(@hostname)
 end
 nameservers += @ns
 
-if @unbound && @unbound == "true"
+if @unbound
   nameservers = ['127.0.0.1']
 end