Add missing end on @servers iteration

Also normalize the indentation. Ruby code is 2-space indented, templated
configuration is tab indented.
This commit is contained in:
Nate Riffe 2016-04-20 14:11:50 -05:00
parent 0f3728da6d
commit bc34a9881d

View File

@ -45,12 +45,13 @@ view "<%= @name %>" {
keys { <%= properties['keys'] %>; }; keys { <%= properties['keys'] %>; };
<%- end -%> <%- end -%>
}; };
<%- end -%>
<%- end -%> <%- end -%>
<%- if @also_notify and @also_notify != '' -%> <%- if @also_notify and @also_notify != '' -%>
also-notify { also-notify {
<%- Array(@also_notify).each do |server| -%> <%- Array(@also_notify).each do |server| -%>
<%= server %>; <%= server %>;
<%- end -%> <%- end -%>
}; };
<%- end -%> <%- end -%>
<%- if @notify_source and @notify_source != '' -%> <%- if @notify_source and @notify_source != '' -%>