nominatim: fix directory creation order
[chef.git] / cookbooks / nominatim / recipes / default.rb
index f515474902fd0444088f6188fda3b581c8914d7c..976bdb4c2b58a8fc51c28ac6ed96d105ddff88d5 100644 (file)
@@ -41,12 +41,6 @@ file "#{node[:nominatim][:logdir]}/update.log" do
   mode 0o664
 end
 
-directory "#{basedir}/status" do
-  owner "nominatim"
-  group "postgres"
-  mode 0o775
-end
-
 ## Postgresql
 
 include_recipe "postgresql"
@@ -381,3 +375,9 @@ end
 munin_plugin "nominatim_throttled_ips" do
   target "#{source_directory}/munin/nominatim_throttled_ips"
 end
+
+directory "#{basedir}/status" do
+  owner "nominatim"
+  group "postgres"
+  mode 0o775
+end