X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=d909f74c974b8dab45ee15d810318cb36d698b70;hb=a0ae58f07e1d5e2ed987ef4c50e559534796e300;hp=c11df43f45cd341315110a9efd951add320f8cc2;hpb=3eb533e5499e66423bafdedaf6c7d08ead1772de;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index c11df43f4..d909f74c9 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -20,7 +20,7 @@ server: out << " access-control: ::0/0 refuse" out << " access-control: ::1 allow" out << " access-control: ::ffff:127.0.0.1 allow" - nodeinfo['hoster']['allow_dns_query'].each do |net| + scope.lookupvar('site::nodeinfo')['hoster']['allow_dns_query'].each do |net| out << " access-control: #{net} allow" end end