X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=d919f384fc916d6a964cd0b6733f2bb927a98585;hb=6ef393a9864338c2e1085fa80283e8fda848685e;hp=17683a862031792d90df99eacccf35fa0cf57b7f;hpb=9cc83fd1c7a09dd062f510ad4ac4a311b9208dc0;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 17683a862..d919f384f 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -45,7 +45,7 @@ server: auto-trust-anchor-file: "/var/lib/unbound/debian.org.key" # recursive: <%= @is_recursor ? "y" : "n" %> -<% if (not @is_recursor) and (not @ns.empty?) -%> +<% if not @is_recursor -%> forward-zone: name: "." <% @ns.to_a.flatten.each do |nms| -%>