X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d2c77f6ed8d42b2b1f02230795bba8d0d8591ff5..50aea11082eaa90bd37593b9c987d38a082f4e1b:/cookbooks/planet/recipes/notes.rb diff --git a/cookbooks/planet/recipes/notes.rb b/cookbooks/planet/recipes/notes.rb index d8d1647f9..e63297081 100644 --- a/cookbooks/planet/recipes/notes.rb +++ b/cookbooks/planet/recipes/notes.rb @@ -17,8 +17,9 @@ # limitations under the License. # -include_recipe "awscli" +include_recipe "accounts" include_recipe "git" +include_recipe "planet::aws" db_passwords = data_bag_item("db", "passwords") @@ -56,6 +57,8 @@ systemd_service "planet-notes-dump" do exec_start "/usr/local/bin/planet-notes-dump" user "planet" sandbox :enable_network => true + protect_home "tmpfs" + bind_paths "/home/planet" read_write_paths "/store/planet/notes" end