]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/recipes/default.rb
overpass: only download sources when missing
[chef.git] / cookbooks / overpass / recipes / default.rb
index 0cad2a1ab44280c464f45378b136d3070c0952f5..665b6730b05e54b94ae94d00f7c061103ea5f0dc 100644 (file)
@@ -49,7 +49,7 @@ package %w[
 ]
 
 remote_file "#{srcdir}.tar.gz" do
-  action :create
+  action :create_if_missing
   source "https://dev.overpass-api.de/releases/osm-3s_v#{node[:overpass][:version]}.tar.gz"
   owner username
   group username