]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/providers/jail.rb
Remove forced downgrade of hp-health
[chef.git] / cookbooks / fail2ban / providers / jail.rb
index d0e9dd5b302f55548313d7c00f9e257fe9b40c76..e12ad22efcb86924a8c76bb1771f550ddb69fbb0 100644 (file)
@@ -29,13 +29,14 @@ action :create do
     source "jail.erb"
     owner "root"
     group "root"
     source "jail.erb"
     owner "root"
     group "root"
-    mode 0644
+    mode 0o644
     variables :name => new_resource.name,
               :filter => new_resource.filter,
               :logpath => new_resource.logpath,
               :protocol => new_resource.protocol,
               :ports => new_resource.ports,
     variables :name => new_resource.name,
               :filter => new_resource.filter,
               :logpath => new_resource.logpath,
               :protocol => new_resource.protocol,
               :ports => new_resource.ports,
-              :maxretry => new_resource.maxretry
+              :maxretry => new_resource.maxretry,
+              :ignoreips => new_resource.ignoreips
   end
 end
 
   end
 end