]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/resolv/templates/resolv.conf.erb
I wonder if this is better
[dsa-puppet.git] / modules / resolv / templates / resolv.conf.erb
index ad7ac72381c2f8fdcde9894da4cc0fc5b75592e9..0ebef6c5b81e678a826f09b9332339726219d12e 100644 (file)
@@ -21,6 +21,7 @@ searchpaths << "debian.org"
 resolvconf  = ''
 resolvconf += "search " + searchpaths.join(" ") + "\n"
 
+unbound = lookupvar('unbound')
 if unbound and unbound == "true"
   resolvconf += "nameserver 127.0.0.1\n"
 else