X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5fa9775ad91ab75137f851ac2663adeb8518ee99..89b4f69cf22dcd7ff06a83a0d901fd4c446675e9:/cookbooks/fail2ban/resources/jail.rb diff --git a/cookbooks/fail2ban/resources/jail.rb b/cookbooks/fail2ban/resources/jail.rb index c8ff950cf..e5801c065 100644 --- a/cookbooks/fail2ban/resources/jail.rb +++ b/cookbooks/fail2ban/resources/jail.rb @@ -23,6 +23,8 @@ default_action :create property :jail, :kind_of => String, :name_property => true property :filter, :kind_of => String +property :backend, :kind_of => String +property :journalmatch, :kind_of => String property :logpath, :kind_of => String property :protocol, :kind_of => String property :ports, :kind_of => Array, :default => [] @@ -40,9 +42,13 @@ action :create do mode "644" variables :name => new_resource.jail, :filter => new_resource.filter, + :backend => new_resource.backend, + :journalmatch => new_resource.journalmatch, :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