]> git.openstreetmap.org Git - chef.git/commitdiff
Correct attribute name
authorTom Hughes <tom@compton.nu>
Wed, 2 Nov 2022 23:35:02 +0000 (23:35 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 2 Nov 2022 23:35:14 +0000 (23:35 +0000)
cookbooks/dev/recipes/default.rb
cookbooks/gps-tile/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
index bc4e4c6373da5bb7dc379014946871ffa198ce89..f82327c9fe2e6fe2ff1a115d69a5d5f11b35444c 100644 (file)
@@ -98,7 +98,7 @@ systemd_service "gps-update" do
   private_devices true
   protect_system "strict"
   protect_home true
-  read_write_directories "/srv/gps-tile.openstreetmap.org"
+  read_write_paths "/srv/gps-tile.openstreetmap.org"
   no_new_privileges true
   restart "on-failure"
 end