X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/99115d86a7a2cc2ed17c771bd2399448bd3879e8..137c1558a1a89a99b4770ffa1f4b71fc46eb0020:/cookbooks/fail2ban/templates/default/jail.erb?ds=sidebyside diff --git a/cookbooks/fail2ban/templates/default/jail.erb b/cookbooks/fail2ban/templates/default/jail.erb index a5cdd4895..357e09ea5 100644 --- a/cookbooks/fail2ban/templates/default/jail.erb +++ b/cookbooks/fail2ban/templates/default/jail.erb @@ -5,9 +5,27 @@ enabled = true <% if @protocol -%> protocol = <%= @protocol %> <% end -%> +<% if @ports -%> port = <%= @ports.join(",") %> +<% end -%> +<% if @filter -%> filter = <%= @filter %> +<% end -%> +<% if @backend -%> +backend = <%= @backend %> +<% end -%> +<% if @journalmatch -%> +journalmatch = <%= @journalmatch %> +<% end -%> +<% if @logpath -%> logpath = <%= @logpath %> +<% end -%> +<% if @bantime -%> +bantime = <%= @bantime %> +<% end -%> +<% if @findtime -%> +findtime = <%= @findtime %> +<% end -%> <% if @maxretry -%> maxretry = <%= @maxretry %> <% end -%>