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]
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|
password passwords["replication"]
replication true
end
-