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 Dec. 1, 2016, 9:14 a.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? -%>
3 [<%= name %>]
4 <% if config['filter'].empty? -%>
5 filter = <%= name %>
6 <% end -%>
7 <% configuration = scope.function_merge(@jail_default, config) -%>
8 <% configuration.each do |key, value| -%>
9 <%= key %> = <%= value %>
10 <% end %>
11 <% else -%>
12 <% raise Puppet::Error, "Log path missing from configuration" -%>
13 <% end -%>
14 <% end -%>
15
OLDNEW

Powered by Google App Engine
This is Rietveld