X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fresolv%2Ftemplates%2Fresolv.conf.erb;h=ad7ac72381c2f8fdcde9894da4cc0fc5b75592e9;hb=5c1575180e9333ccb1af1f0331f540811e8b774b;hp=9bc11ba9664e90a63b189e5d328aad840e14ce15;hpb=940d3d11a64936b17c0fe6012fc99f5779fa5302;p=dsa-puppet.git diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index 9bc11ba9..ad7ac723 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -21,7 +21,7 @@ searchpaths << "debian.org" resolvconf = '' resolvconf += "search " + searchpaths.join(" ") + "\n" -if runs_local_resolver +if unbound and unbound == "true" resolvconf += "nameserver 127.0.0.1\n" else if nameservers.empty?