]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/master.rb
Update carto stylesheet to v2.32.0
[chef.git] / cookbooks / nominatim / recipes / master.rb
index d33d7658d6c860facd0611b4ad921c35f28a0fe8..341f3d664dc1befe1ffd11941e8d1ece02da21f5 100644 (file)
 
 include_recipe "git"
 
+passwords = data_bag_item("nominatim", "passwords")
+database_cluster = node[:nominatim][:database][:cluster]
+home_directory = data_bag_item("accounts", "nominatim")["home"]
+
 git "#{home_directory}/nominatim" do
   action :checkout
   repository node[:nominatim][:repository]
@@ -30,10 +34,6 @@ end
 
 include_recipe "nominatim::base"
 
-passwords = data_bag_item("nominatim", "passwords")
-database_cluster = node[:nominatim][:database][:cluster]
-home_directory = data_bag_item("accounts", "nominatim")["home"]
-
 superusers = %w(tomh lonvia twain nominatim)
 
 superusers.each do |user|
@@ -52,4 +52,3 @@ postgresql_user "replication" do
   password passwords["replication"]
   replication true
 end
-