X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a98035c2fefcff6c436b1e3c05cad4cf81975d89..0044078ddc06dac65be8e6405e3bb0f54d63d5b7:/cookbooks/geoipupdate/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/geoipupdate/recipes/default.rb b/cookbooks/geoipupdate/recipes/default.rb index 77c62e5ad..58bf40d8b 100644 --- a/cookbooks/geoipupdate/recipes/default.rb +++ b/cookbooks/geoipupdate/recipes/default.rb @@ -35,7 +35,7 @@ execute "geoipdate" do command "geoipupdate" user "root" group "root" - not_if { node[:geoipupdate][:editions].all? { |edition| ::File.exist?("/usr/share/GeoIP/#{edition}.mmdb") } } + not_if { ENV.key?("TEST_KITCHEN") || node[:geoipupdate][:editions].all? { |edition| ::File.exist?("/usr/share/GeoIP/#{edition}.mmdb") } } end directory "/var/lib/GeoIP" do