From eccce1c7e54b841b31198d198f39d96eb6387d78 Mon Sep 17 00:00:00 2001 From: b4ldr Date: Wed, 8 Jun 2016 15:37:46 +0100 Subject: [PATCH] correct naming --- templates/etc/knot/knot.server.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/knot/knot.server.conf.erb b/templates/etc/knot/knot.server.conf.erb index 416b8b9..a827095 100644 --- a/templates/etc/knot/knot.server.conf.erb +++ b/templates/etc/knot/knot.server.conf.erb @@ -61,7 +61,7 @@ remotes { <%- end -%> <%- if @slave_addresses -%> <%- @slave_addresses.each_pair do |iface, key| -%> - <%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%> { + <%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%> { address <%= iface %>; port 53; key <%= key %>; @@ -72,7 +72,7 @@ remotes { groups { global-slaves { <%- @slave_addresses.each_with_index do |(iface, key), index| -%> - <%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %> + <%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %> <%- end -%> } }