X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7c4617fecf22890887fd1cda4b5d820d21a71d44..c71c0fed2044fc69506e85eedb4152732ea704ca:/cookbooks/fail2ban/recipes/default.rb diff --git a/cookbooks/fail2ban/recipes/default.rb b/cookbooks/fail2ban/recipes/default.rb index 5ed1f3409..50b31d1b3 100644 --- a/cookbooks/fail2ban/recipes/default.rb +++ b/cookbooks/fail2ban/recipes/default.rb @@ -27,14 +27,14 @@ else directory "/etc/fail2ban/jail.d" do owner "root" group "root" - mode 0755 + mode 0o755 end template "/etc/fail2ban/jail.local" do source "jail.local.erb" owner "root" group "root" - mode 0644 + mode 0o644 subscribes :create, "template[/etc/fail2ban/jail.d/00-default.conf]" notifies :reload, "service[fail2ban]" end @@ -44,7 +44,7 @@ template "/etc/fail2ban/jail.d/00-default.conf" do source "jail.default.erb" owner "root" group "root" - mode 0644 + mode 0o644 notifies :reload, "service[fail2ban]" end