Whitespace cleanup.

This commit is contained in:
Nick Chappell 2014-10-14 22:00:29 -07:00
parent b6271837e3
commit 7d9525bdd5
2 changed files with 6 additions and 7 deletions

View file

@ -26,10 +26,10 @@ apply Dependency "<%= @object_name %>" to "<%= @object_type %>"{
<%- end -%>
<%- if @disable_checks -%>
disable_checks = <%= @disable_checks -%>
<%- end -%>
<%- end -%>
<%- if @disable_notifications -%>
disable_notifications = <%= @disable_notifications -%>
<%- end -%>
<%- end -%>
<%- if @period -%>
period = "<%= @period -%>"
<%- end -%>
@ -37,9 +37,9 @@ apply Dependency "<%= @object_name %>" to "<%= @object_type %>"{
states = [ <%- @states.each do |state| -%> <%= state %>, <%- end -%>]
<%- end -%>
<%- if @assign_where -%>
assign where <%= @assign_where -%>
assign where <%= @assign_where -%>
<%- end -%>
<%- if @ignore_where -%>
ignore where <%= @ignore_where -%>
ignore where <%= @ignore_where -%>
<%- end -%>
}

View file

@ -22,15 +22,14 @@ object Dependency "<%= @object_name %>" {
<%- end -%>
<%- if @disable_checks -%>
disable_checks = <%= @disable_checks -%>
<%- end -%>
<%- end -%>
<%- if @disable_notifications -%>
disable_notifications = <%= @disable_notifications -%>
<%- end -%>
<%- end -%>
<%- if @period -%>
period = "<%= @period -%>"
<%- end -%>
<%- if @states.length != 0 -%>
states = [ <%- @states.each do |state| -%> <%= state %>, <%- end -%>]
<%- end -%>
}