<<<<<<< HEAD
<%- if @restart_limit -%>
  IF <%= @restart_limit['restarts'] %> RESTARTS WITHIN <%= @restart_limit['cycles'] %> CYCLES THEN <%= @restart_limit['action'] %>
<%- end -%>
  GROUP <%= @group %>
<%- unless @depends.empty? -%>
  DEPENDS <%= @depends.join(', ') %>
<%- end -%>
<%- unless @every.empty? -%>
  EVERY <%= @every %>
<%- end -%>
<%- unless @alerts.empty? -%>
  <%- @alerts.each do |alert| -%>
  ALERT <%= alert %>
  <%- end -%>
<%- end %>
<%- unless @noalerts.empty? -%>
  <%- @noalerts.each do |noalert| -%>
  NOALERT <%= noalert %>
  <%- end -%>
<%- end -%>
<%- @tests_real.each do |test| -%>
  IF <%= test['condition'] %>
  <%- if test.key? 'tolerance' -%>
    FOR <%= test['tolerance'] %>
  <%- end -%>
  THEN <%= test['action'] %>
<%- end -%>

<%- if @restart_limit -%>
  IF <%= @restart_limit['restarts'] %> RESTARTS WITHIN <%= @restart_limit['cycles'] %> CYCLES THEN <%= @restart_limit['action'] %>
<%- end -%>
  GROUP <%= @group %>
<%- unless @depends.empty? -%>
  DEPENDS <%= @depends.join(', ') %>
<%- end -%>
<%- unless @every.empty? -%>
  EVERY <%= @every %>
<%- end -%>
<%- unless @alerts.empty? -%>
  <%- @alerts.each do |alert| -%>
  ALERT <%= alert %>
  <%- end -%>
<%- end %>
<%- unless @noalerts.empty? -%>
  <%- @noalerts.each do |noalert| -%>
  NOALERT <%= noalert %>
  <%- end -%>
<%- end -%>
<%- @tests_real.each do |test| -%>
  IF <%= test['condition'] %>
  <%- if test.key? 'tolerance' -%>
    FOR <%= test['tolerance'] %>
  <%- end -%>
  THEN <%= test['action'] %>
<%- end -%>

Remove leftover tag of rebase
Remove leftover tag of rebase
