]> git.openstreetmap.org Git - chef.git/blob - cookbooks/fail2ban/templates/default/jail.erb
Merge remote-tracking branch 'github/pull/422'
[chef.git] / cookbooks / fail2ban / templates / default / jail.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 [<%= @name %>]
4 enabled = true
5 <% if @protocol -%>
6 protocol = <%= @protocol %>
7 <% end -%>
8 <% if @ports -%>
9 port = <%= @ports.join(",") %>
10 <% end -%>
11 <% if @filter -%>
12 filter = <%= @filter %>
13 <% end -%>
14 <% if @logpath -%>
15 logpath = <%= @logpath %>
16 <% end -%>
17 <% if @maxretry -%>
18 maxretry = <%= @maxretry %>
19 <% end -%>
20 <% if @ignoreips -%>
21 ignoreip = <%= @ignoreips.sort.join(" ") %>
22 <% end -%>