Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/fail2ban/templates/jail.erb

Issue 29364214: Issue 2487 - Introduce fail2ban module (Closed)
Patch Set: Issue 2487 - Introduce fail2ban module Created Nov. 29, 2016, 12:44 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <% @jail_config.each do |name, config| -%>
2 <% if !config['logpath'].empty? -%>
mathias 2016/11/29 13:21:27 Why this condition? And why just silently ignoring
f.lopez 2016/12/01 09:13:50 The path to the log file is necessary so fail2ban
3 [<%= name %>]
4 filter = <%= name %>
mathias 2016/11/29 13:21:26 The filter should be an extra parameter of the cur
f.lopez 2016/12/01 09:13:50 Acknowledged.
5 <% configuration = scope.function_merge(@jail_default, config) -%>
6 <% configuration.each do |key, value| -%>
7 <%= key %> = <%= value %>
8 <% end %>
9 <% end -%>
10 <% end -%>
11
OLDNEW

Powered by Google App Engine
This is Rietveld