nominatim: more directory fixes
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 21:07:57 +0000 (23:07 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 21:07:57 +0000 (23:07 +0200)
cookbooks/nominatim/recipes/default.rb

index 976bdb4..3f8b814 100644 (file)
 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"