From 37ad8f9cc2cc71005fbfc4046fe47c99c577b500 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 4 Jun 2018 12:52:43 +0100 Subject: [PATCH] Remove old resources --- cookbooks/tilecache/recipes/default.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 9aad89927..5c1cdba3c 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -117,10 +117,6 @@ ssl_certificate "tile.openstreetmap.org" do notifies :restart, "service[nginx]" end -nginx_site "tile-ssl" do - action :delete -end - nginx_site "tile" do template "nginx_tile.conf.erb" variables :caches => tilecaches @@ -144,9 +140,3 @@ end Dir.glob("/var/log/nginx/access.log*") do |log| File.unlink(log) end - -log "restart" do - message "Restarting caching" - notifies :restart, "service[squid]" - notifies :restart, "service[nginx]" -end -- 2.43.2