]> git.openstreetmap.org Git - chef.git/commitdiff
fail2ban: separate ignoreips with spaces instead of comma
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 26 Mar 2017 20:09:45 +0000 (22:09 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 26 Mar 2017 20:09:45 +0000 (22:09 +0200)
cookbooks/fail2ban/templates/default/jail.erb

index c4331093b7527bcc8002de9c4360abfa0f0f107a..a5cdd4895b2191097a7d19745ed97cf85613c469 100644 (file)
@@ -12,5 +12,5 @@ logpath = <%= @logpath %>
 maxretry = <%= @maxretry %>
 <% end -%>
 <% if @ignoreips -%>
 maxretry = <%= @maxretry %>
 <% end -%>
 <% if @ignoreips -%>
-ignoreip = <%= @ignoreips.sort.join(",") %>
+ignoreip = <%= @ignoreips.sort.join(" ") %>
 <% end -%>
 <% end -%>