]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ssl/recipes/default.rb
add function to create and delete tablespaces
[chef.git] / cookbooks / ssl / recipes / default.rb
index f737fe1a6356e596508e98ca7e25d717f73a5f30..33c9bcb14a657e196a496f27023b2ea8aaf82d13 100644 (file)
@@ -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