From: Sarah Hoffmann Date: Tue, 24 Sep 2024 15:21:51 +0000 (+0200) Subject: overpass: only download sources when missing X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a1b52618178ed082ce2b73766c248a91cfe1fb31 overpass: only download sources when missing The filename contains the version, so the file shouldn't change. --- diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index 0cad2a1ab..665b6730b 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -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