X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4781c23a88bfec6798e705486fc21a8923a79096..22f20357a5fa17247d573014e417fab9f47d8ffc:/cookbooks/fail2ban/templates/default/jail.erb diff --git a/cookbooks/fail2ban/templates/default/jail.erb b/cookbooks/fail2ban/templates/default/jail.erb index 08fb7ed16..a5cdd4895 100644 --- a/cookbooks/fail2ban/templates/default/jail.erb +++ b/cookbooks/fail2ban/templates/default/jail.erb @@ -11,3 +11,6 @@ logpath = <%= @logpath %> <% if @maxretry -%> maxretry = <%= @maxretry %> <% end -%> +<% if @ignoreips -%> +ignoreip = <%= @ignoreips.sort.join(" ") %> +<% end -%>