nominatim: no git repo updates via chef
[chef.git] / cookbooks / nominatim / recipes / default.rb
index a4591d1eeb648abbbb8fcd49d77410df2e34feed..92ac5162069811e97c9cb8f69aaeae1afc2b474c 100644 (file)
@@ -177,6 +177,7 @@ git source_directory do
   enable_submodules true
   user "nominatim"
   group "nominatim"
+  not_if { node[:nominatim][:state] != "slave" and File.exist?("#{source_directory}/README.md") }
   notifies :run, "execute[compile_nominatim]", :immediately
 end