X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2d198194421c661f2181c8ceca09eb55c2180eda..a5bf63a4db83a924cefa11797f1a1403e44d6c9c:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 976bdb4c2..3f8b81459 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -20,6 +20,14 @@ basedir = data_bag_item("accounts", "nominatim")["home"] email_errors = data_bag_item("accounts", "lonvia")["email"] +directory "#{basedir}" do + owner "nominatim" + group "nominatim" + mode 0o755 + recursive true +end + + directory node[:nominatim][:logdir] do owner "nominatim" group "nominatim"