X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9d456f01b9ef62193a864f8f2c8a81b563c0f51b..beb8b02aa361eaa281949b30e2f54a95e0b0c489:/cookbooks/fail2ban/templates/default/jail.erb?ds=inline diff --git a/cookbooks/fail2ban/templates/default/jail.erb b/cookbooks/fail2ban/templates/default/jail.erb index c155e0f6c..a5cdd4895 100644 --- a/cookbooks/fail2ban/templates/default/jail.erb +++ b/cookbooks/fail2ban/templates/default/jail.erb @@ -12,5 +12,5 @@ logpath = <%= @logpath %> maxretry = <%= @maxretry %> <% end -%> <% if @ignoreips -%> -ignoreip = <%= @ignoreips.join(",") %> +ignoreip = <%= @ignoreips.sort.join(" ") %> <% end -%>