X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fresolv%2Ftemplates%2Fresolv.conf.erb;h=0ebef6c5b81e678a826f09b9332339726219d12e;hb=259ecf970241269d8237cdc9f73f323f8fcf78fa;hp=ad7ac72381c2f8fdcde9894da4cc0fc5b75592e9;hpb=5c1575180e9333ccb1af1f0331f540811e8b774b;p=mirror%2Fdsa-puppet.git diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index ad7ac7238..0ebef6c5b 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -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