projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3d3f4
)
Remove old resources
author
Tom Hughes
<tom@compton.nu>
Mon, 4 Jun 2018 11:52:43 +0000
(12:52 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 4 Jun 2018 11:52:43 +0000
(12:52 +0100)
cookbooks/tilecache/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/tilecache/recipes/default.rb
b/cookbooks/tilecache/recipes/default.rb
index 9aad8992789a2257506b380892880817f52ce8e3..5c1cdba3c382df13993e58e70e704b7591a62192 100644
(file)
--- 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