X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/70eaccc45b23013cf60449b024bb65bbd34d48ec..aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc:/cookbooks/fail2ban/resources/jail.rb diff --git a/cookbooks/fail2ban/resources/jail.rb b/cookbooks/fail2ban/resources/jail.rb index c07914d2c..6ff5307e3 100644 --- a/cookbooks/fail2ban/resources/jail.rb +++ b/cookbooks/fail2ban/resources/jail.rb @@ -19,7 +19,7 @@ default_action :create -property :jail, :kind_of => String, :name_attribute => true +property :jail, :kind_of => String, :name_property => true property :filter, :kind_of => String property :logpath, :kind_of => String property :protocol, :kind_of => String @@ -33,7 +33,7 @@ action :create do source "jail.erb" owner "root" group "root" - mode 0o644 + mode "644" variables :name => new_resource.jail, :filter => new_resource.filter, :logpath => new_resource.logpath,