X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/99115d86a7a2cc2ed17c771bd2399448bd3879e8..6ceead753013521ceffc22bea1cd1bcf5b5ec8d6:/cookbooks/fail2ban/templates/default/jail.erb diff --git a/cookbooks/fail2ban/templates/default/jail.erb b/cookbooks/fail2ban/templates/default/jail.erb index a5cdd4895..91978488c 100644 --- a/cookbooks/fail2ban/templates/default/jail.erb +++ b/cookbooks/fail2ban/templates/default/jail.erb @@ -5,9 +5,15 @@ enabled = true <% if @protocol -%> protocol = <%= @protocol %> <% end -%> +<% if @ports -%> port = <%= @ports.join(",") %> +<% end -%> +<% if @filter -%> filter = <%= @filter %> +<% end -%> +<% if @logpath -%> logpath = <%= @logpath %> +<% end -%> <% if @maxretry -%> maxretry = <%= @maxretry %> <% end -%>