]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/recipes/default.rb
tilecache: compress old curl time records
[chef.git] / cookbooks / tilecache / recipes / default.rb
index 16a8af1be66f1f547e97a98307d048e8b0ca45c8..22272b3aa318ad91568304670bf7baee71aed9e1 100644 (file)
@@ -206,8 +206,11 @@ template "/srv/tilecache/tilecache-curl-time" do
   variables :caches => tilecaches, :renders => tilerenders
 end
 
-file "/srv/tilecache/tilecache-fastest-peers" do
-  action :delete
+template "/srv/tilecache/tilecache-curl-time-cleanup" do
+  source "tilecache-curl-time-cleanup.erb"
+  owner "root"
+  group "root"
+  mode 0o755
 end
 
 ohai_plugin "tilecache" do