Skip to content

Commit

Permalink
change white space
Browse files Browse the repository at this point in the history
  • Loading branch information
b4ldr committed Jun 7, 2016
1 parent 08d1e94 commit 5c7a2f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/etc/knot/knot.zones.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ remotes {
}
groups {
<%- if @masters.any? then -%>
master-<%= @name %> {<%- @masters.each_with_index do |master, index| -%> master<%= index +1 %>-<%= @name %><% if !@masters[index +1].nil? then %>, <%- end -%><%- end -%> }
master-<%= @name %> {<%- @masters.each_with_index do |master, index| -%>master<%= index +1 %>-<%= @name %><% if !@masters[index +1].nil? then %>, <%- end -%><%- end -%> }
<%- end -%>
<%- if @provide_xfr.any? then -%>
slave-<%= @name %> {<%- @provide_xfr.each_with_index do |xfr, index| -%> slave<%= index +1 %>-<%= @name %><% if !@provide_xfr[index +1].nil? then %>, <%- end -%><%- end -%> }
slave-<%= @name %> {<%- @provide_xfr.each_with_index do |xfr, index| -%>slave<%= index +1 %>-<%= @name %><% if !@provide_xfr[index +1].nil? then %>, <%- end -%><%- end -%> }
<%- end -%>
<%- if @notify_addresses.any? then -%>
notify-<%= @name %>-out {<%- @notify_addresses.each_with_index do |notify_address, index| -%> notify<%= index +1 %>-<%= @name %>-out<% if !@notify_addresses[index +1].nil? then %>, <%- end -%><%- end -%> }
notify-<%= @name %>-out {<%- @notify_addresses.each_with_index do |notify_address, index| -%>notify<%= index +1 %>-<%= @name %>-out<% if !@notify_addresses[index +1].nil? then %>, <%- end -%><%- end -%> }
<%- end -%>
<%- if @allow_notify.any? then -%>
notify-<%= @name %>-in {<%- @allow_notify.each_with_index do |notify, index| -%> notify<%= index +1 %>-<%= @name %>-in<% if !@allow_notify[index +1].nil? then %>, <%- end -%><%- end -%> }
notify-<%= @name %>-in {<%- @allow_notify.each_with_index do |notify, index| -%>notify<%= index +1 %>-<%= @name %>-in<% if !@allow_notify[index +1].nil? then %>, <%- end -%><%- end -%> }
<%- end -%>
}
zones {
Expand Down

0 comments on commit 5c7a2f6

Please sign in to comment.