]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/resources/filter.rb
Fix collection of PSU details from dmidecode
[chef.git] / cookbooks / fail2ban / resources / filter.rb
index 0a13c836a46c0d726a6e2b083366036a2109e681..b28e8f6c7aa673ddea0700bda3429f55c4f79851 100644 (file)
@@ -22,6 +22,8 @@ default_action :create
 
 attribute :name, :kind_of => String, :name_attribute => true
 attribute :source, :kind_of => String
+attribute :failregex, :kind_of => [String, Array]
+attribute :ignoreregex, :kind_of => [String, Array]
 
 def after_created
   notifies :reload, "service[fail2ban]"