From: Tom Hughes Date: Mon, 11 Mar 2024 19:18:32 +0000 (+0000) Subject: Pass bantime and findtime to jail config correctly X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ae3d95b7c8039ea5ff0f40a50c759d69a75a6429 Pass bantime and findtime to jail config correctly --- diff --git a/cookbooks/fail2ban/resources/jail.rb b/cookbooks/fail2ban/resources/jail.rb index c8ff950cf..f68645054 100644 --- a/cookbooks/fail2ban/resources/jail.rb +++ b/cookbooks/fail2ban/resources/jail.rb @@ -43,6 +43,8 @@ action :create do :logpath => new_resource.logpath, :protocol => new_resource.protocol, :ports => new_resource.ports, + :bantime => new_resource.bantime, + :findtime => new_resource.findtime, :maxretry => new_resource.maxretry, :ignoreips => new_resource.ignoreips end