From: Tom Hughes Date: Wed, 2 Nov 2022 23:35:02 +0000 (+0000) Subject: Correct attribute name X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/265658e454497081b48c3f28772a7c3a091d5579 Correct attribute name --- diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index db2057372..9ad37bfc9 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -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 diff --git a/cookbooks/gps-tile/recipes/default.rb b/cookbooks/gps-tile/recipes/default.rb index bc4e4c637..f82327c9f 100644 --- a/cookbooks/gps-tile/recipes/default.rb +++ b/cookbooks/gps-tile/recipes/default.rb @@ -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