]> git.openstreetmap.org Git - chef.git/commitdiff
Remove old resources
authorTom Hughes <tom@compton.nu>
Mon, 4 Jun 2018 11:52:43 +0000 (12:52 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 4 Jun 2018 11:52:43 +0000 (12:52 +0100)
cookbooks/tilecache/recipes/default.rb

index 9aad8992789a2257506b380892880817f52ce8e3..5c1cdba3c382df13993e58e70e704b7591a62192 100644 (file)
@@ -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