X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/002e934c3f9d818e59b74fdb021f93766799ea9c..3369f9515111a99387cda562a342f94ea1a13778:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 5e92c31fa..16a8af1be 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -191,7 +191,7 @@ directory "/srv/tilecache/data" do mode 0o755 end -file "/srv/tilecache/tilecache-curl-time.txt" do +cookbook_file "/srv/tilecache/tilecache-curl-time.txt" do source "tilecache-curl-time.txt" owner "root" group "root" @@ -205,3 +205,11 @@ template "/srv/tilecache/tilecache-curl-time" do mode 0o755 variables :caches => tilecaches, :renders => tilerenders end + +file "/srv/tilecache/tilecache-fastest-peers" do + action :delete +end + +ohai_plugin "tilecache" do + template "ohai.rb.erb" +end