]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/recipes/default.rb
Correct attribute name
[chef.git] / cookbooks / dev / recipes / default.rb
index db2057372489085c7d582d39e9c5e698bab1cc9b..9ad37bfc9b30f57732011b0d1afc7162f0e7b9a6 100644 (file)
@@ -294,7 +294,7 @@ if node[:postgresql][:clusters][:"14/main"]
     private_devices true
     protect_system "strict"
     protect_home true
-    read_write_directories "/srv/%i.apis.dev.openstreetmap.org/logs"
+    read_write_paths "/srv/%i.apis.dev.openstreetmap.org/logs"
     no_new_privileges true
   end
 
@@ -309,7 +309,7 @@ if node[:postgresql][:clusters][:"14/main"]
     private_devices true
     protect_system "strict"
     protect_home true
-    read_write_directories ["/srv/%i.apis.dev.openstreetmap.org/logs", "/srv/%i.apis.dev.openstreetmap.org/rails/tmp"]
+    read_write_paths ["/srv/%i.apis.dev.openstreetmap.org/logs", "/srv/%i.apis.dev.openstreetmap.org/rails/tmp"]
     no_new_privileges true
     restart "on-failure"
   end