From cd67d87038f5a76048da47e06fdfcf4b6f902197 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 25 Mar 2017 10:50:56 +0000 Subject: [PATCH] Sort ignored addresses --- cookbooks/fail2ban/templates/default/jail.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/fail2ban/templates/default/jail.erb b/cookbooks/fail2ban/templates/default/jail.erb index c155e0f6c..c4331093b 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 -%> -- 2.39.5