X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/333279515fb94b7fbcf9ac1f98eb7e541139a797..a68415b8f2bf106b6ea5948b0605c897b516ef4f:/cookbooks/ssl/recipes/default.rb diff --git a/cookbooks/ssl/recipes/default.rb b/cookbooks/ssl/recipes/default.rb index f737fe1a6..33c9bcb14 100644 --- a/cookbooks/ssl/recipes/default.rb +++ b/cookbooks/ssl/recipes/default.rb @@ -26,7 +26,7 @@ package "ssl-cert" cookbook_file "/etc/ssl/certs/#{certificate}.pem" do owner "root" group "root" - mode 0444 + mode 0o444 backup false end end @@ -36,14 +36,14 @@ end cookbook_file "/etc/ssl/certs/#{certificate}.pem" do owner "root" group "root" - mode 0444 + mode 0o444 backup false end file "/etc/ssl/private/#{certificate}.key" do owner "root" group "ssl-cert" - mode 0440 + mode 0o440 content keys[certificate].join("\n") backup false end