X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/743225d946030d146d8a130eb6551e9246d7ada4..d2189ecc163f8908baafb2448fb9d58a4cc1d6ae:/cookbooks/tile/templates/default/expire-tiles.erb diff --git a/cookbooks/tile/templates/default/expire-tiles.erb b/cookbooks/tile/templates/default/expire-tiles.erb index 6716fd66c..1a8a01a26 100644 --- a/cookbooks/tile/templates/default/expire-tiles.erb +++ b/cookbooks/tile/templates/default/expire-tiles.erb @@ -12,7 +12,7 @@ tile_dirs = [ max_zoom = <%= node[:tile][:styles].collect { |n,d| d[:max_zoom] }.max %> -Dir.glob("/var/lib/replicate/expire-queue/changes-*.osm.gz").each do |f| +Dir.glob("/var/lib/replicate/expire-queue/changes-*.gz").each do |f| Expire::expire(f, 13, max_zoom, tile_dirs) File::unlink(f) end