From: Tom Hughes Date: Mon, 4 Jun 2018 11:52:43 +0000 (+0100) Subject: Remove old resources X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/37ad8f9cc2cc71005fbfc4046fe47c99c577b500 Remove old resources --- 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