nominatim: use correct branch in update script
[chef.git] / cookbooks / nominatim / recipes / base.rb
index 97cf576c6f4050e3070b5c6b5b9948eb22603441..f1d42092887de9cc54fd7d03cf0092e1a3ecc346 100644 (file)
@@ -195,6 +195,9 @@ template "#{source_directory}/utils/nominatim-update" do
   user "nominatim"
   group "nominatim"
   mode 0o755
+  variables :logfile => "#{node[:nominatim][:logdir]}/update.log",
+            :branch => node[:nominatim][:revision],
+            :update_stop_file => "#{basedir}/status/updates_disabled"
 end
 
 template "/etc/init.d/nominatim-update" do