Merge "fix its_rules parameterization in template"
This commit is contained in:
commit
b276d1d8be
|
@ -86,9 +86,9 @@
|
|||
# 'name' => 'approval-Code-Review',
|
||||
# 'approvals' => '-2, -1',
|
||||
# },
|
||||
# ]
|
||||
# ],
|
||||
# },
|
||||
# ]
|
||||
# ],
|
||||
#
|
||||
# trackingids:
|
||||
# A list of regexes to reference external tracking systems.
|
||||
|
|
|
@ -57,9 +57,9 @@ class { '::gerrit':
|
|||
'name' => 'approval-Code-Review',
|
||||
'approvals' => '-2, -1',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
]
|
||||
],
|
||||
}
|
||||
|
||||
class { '::gerrit::cron': }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% @its_rules.each do |its_rule| -%>
|
||||
[rule "<%= its_rule['name'] %>"]
|
||||
action = <%= its_rule['action'] %>
|
||||
<% unless its_rule['event-type'].nil? -%>
|
||||
<% unless its_rule['event_type'].nil? -%>
|
||||
event-type = <%= its_rule['event_type'] %>
|
||||
<% end -%>
|
||||
<% unless its_rule['label'].nil? -%>
|
||||
|
|
Loading…
Reference in New Issue