projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Exempt out web server from nominatim fail2ban jail
[chef.git]
/
cookbooks
/
fail2ban
/
resources
/
jail.rb
diff --git
a/cookbooks/fail2ban/resources/jail.rb
b/cookbooks/fail2ban/resources/jail.rb
index f51e06188b00caf5f6664e5f4dc40cadb7c0a27e..65d1d3b514617c50d98c39f22db93b2546acd4c3 100644
(file)
--- a/
cookbooks/fail2ban/resources/jail.rb
+++ b/
cookbooks/fail2ban/resources/jail.rb
@@
-26,6
+26,7
@@
attribute :logpath, :kind_of => String
attribute :protocol, :kind_of => String
attribute :ports, :kind_of => Array, :default => []
attribute :maxretry, :kind_of => Integer
+attribute :ignoreips, :kind_of => Array
def after_created
notifies :reload, "service[fail2ban]"