From a5bf63a4db83a924cefa11797f1a1403e44d6c9c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 30 Sep 2016 23:07:57 +0200 Subject: [PATCH] nominatim: more directory fixes --- cookbooks/nominatim/recipes/default.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 2.39.5