]> git.openstreetmap.org Git - chef.git/commitdiff
Expire tiles from both osm.gz and osc.gz files
authorPaul Norman <penorman@mac.com>
Thu, 23 Mar 2017 23:39:18 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2017 23:39:18 +0000 (16:39 -0700)
cookbooks/tile/templates/default/expire-tiles.erb

index 6716fd66c2597cf194220e7de9a8cf9379535f42..1a8a01a26b190ebff4fbe4082eccb8503d2e066b 100644 (file)
@@ -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