projects
/
chef.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rework fail2ban cookbook to use jail.d
[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
port = <%= @ports.join(",") %>
9
filter = <%= @filter %>
10
logpath = <%= @logpath %>
11
<% if @maxretry -%>
12
maxretry = <%= @maxretry %>
13
<% end -%>