X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fresolv%2Ftemplates%2Fresolv.conf.erb;h=7733374208b43baf9c92412ef23613f1e6bf3f01;hb=1880a0ed4cd8dca05733a088b65cf98b0591527e;hp=a42aa25d46e7f01de33c8f917d7947abd51a4aaa;hpb=6f2e5fc86e49c12b12eef39fc69e0e810a32c318;p=mirror%2Fdsa-puppet.git 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