X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f3cea4d57df6fd007d2a08cb5c538395bcda59dc..44f97b9d96e014717d83f2fcf43e0a95fe82ba61:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 5ba99381d..df4e76f43 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -93,11 +93,6 @@ resolvers = node[:networking][:nameservers].map do |resolver| IPAddr.new(resolver).ipv6? ? "[#{resolver}]" : resolver end -nginx_site "tile-ssl" do - template "nginx_tile_ssl.conf.erb" - variables :certificate => certificate, :resolvers => resolvers, :caches => tilecaches -end - template "/usr/local/bin/nginx_generate_tilecache_qos_map" do source "nginx_generate_tilecache_qos_map.erb" owner "root" @@ -119,6 +114,11 @@ execute "execute_nginx_generate_tilecache_qos_map" do action :run end +nginx_site "tile-ssl" do + template "nginx_tile_ssl.conf.erb" + variables :certificate => certificate, :resolvers => resolvers, :caches => tilecaches +end + service "nginx-certificate-restart" do service_name "nginx" action :nothing