]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/master.rb
nominatim: fix erb syntax
[chef.git] / cookbooks / nominatim / recipes / master.rb
index 96117a44014a5369312acd63c243b3a7c2f5e3ea..a3200312bc787aaaabdf47d2cd57ef083b3934ea 100644 (file)
@@ -24,7 +24,7 @@ database_cluster = node[:nominatim][:database][:cluster]
 home_directory = data_bag_item("accounts", "nominatim")["home"]
 
 wal_archives = node[:rsyncd][:modules][:archive][:path]
 home_directory = data_bag_item("accounts", "nominatim")["home"]
 
 wal_archives = node[:rsyncd][:modules][:archive][:path]
-slaves = search(:node, 'role:nominatim-slave').map{ |result| result['name'] }.join(' ')
+slaves = search(:node, 'role:nominatim-slave').map{ |result| result[:fqdn] }.join(' ')
 
 git "#{home_directory}/nominatim" do
   action :checkout
 
 git "#{home_directory}/nominatim" do
   action :checkout