From: Matija Nalis Date: Sat, 21 Nov 2020 00:16:36 +0000 (+0100) Subject: clean .torrent files at the same time as .md5 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7df2b876815f8d466160f6b5bbd0b2cb3c9fb6a8?hp=778314482b6f5af41fcc1e5a10ee67f294cf76ef clean .torrent files at the same time as .md5 --- diff --git a/cookbooks/planet/templates/default/old-planet-file-cleanup.erb b/cookbooks/planet/templates/default/old-planet-file-cleanup.erb index 52ce68623..d58c803bb 100644 --- a/cookbooks/planet/templates/default/old-planet-file-cleanup.erb +++ b/cookbooks/planet/templates/default/old-planet-file-cleanup.erb @@ -99,6 +99,7 @@ to_delete += deletions( /planet-([0-9]{6}).osm.pbf/, today, ["planet-%y%m%d.osm.pbf", + "planet-%y%m%d.osm.pbf.torrent", "planet-%y%m%d.osm.pbf.md5"]) to_delete += deletions( @@ -106,6 +107,7 @@ to_delete += deletions( /history-([0-9]{6}).osm.pbf/, today, ["history-%y%m%d.osm.pbf", + "history-%y%m%d.osm.pbf.torrent", "history-%y%m%d.osm.pbf.md5"]) total_size = 0