projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f0d0a5
)
nominatim: no git repo updates via chef
author
Sarah Hoffmann
<lonvia@denofr.de>
Sun, 17 Sep 2017 14:25:55 +0000
(16:25 +0200)
committer
Sarah Hoffmann
<lonvia@denofr.de>
Sun, 17 Sep 2017 14:26:32 +0000
(16:26 +0200)
cookbooks/nominatim/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/nominatim/recipes/default.rb
b/cookbooks/nominatim/recipes/default.rb
index a4591d1eeb648abbbb8fcd49d77410df2e34feed..92ac5162069811e97c9cb8f69aaeae1afc2b474c 100644
(file)
--- 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