X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/6f0d0a550d615d459fc3b4e60bd233da86c6e64d..d66a20bd589ea54a66ddfb8ae906ef2ab6392281:/cookbooks/nominatim/recipes/default.rb?ds=inline diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index a4591d1ee..92ac51620 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -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