Merge branch 'fix-view-syntax'

This commit is contained in:
Nate Riffe 2016-04-20 14:15:24 -05:00
commit 9e9462faa3

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 != '' -%>