From ae3d95b7c8039ea5ff0f40a50c759d69a75a6429 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 11 Mar 2024 19:18:32 +0000 Subject: [PATCH] Pass bantime and findtime to jail config correctly --- cookbooks/fail2ban/resources/jail.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5