]> git.openstreetmap.org Git - chef.git/commitdiff
Pass bantime and findtime to jail config correctly
authorTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 19:18:32 +0000 (19:18 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 19:18:32 +0000 (19:18 +0000)
cookbooks/fail2ban/resources/jail.rb

index c8ff950cfb3588fb877dcbc2883f7b207f94a32d..f6864505405b27fcb5fbaa197f0c64951960849e 100644 (file)
@@ -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