X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/333279515fb94b7fbcf9ac1f98eb7e541139a797..a68415b8f2bf106b6ea5948b0605c897b516ef4f:/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