From: Grant Slater Date: Thu, 20 Dec 2018 16:51:55 +0000 (+0000) Subject: imagery: remove legacy cleanup X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/e3fb77fdd36918d2367cfb6bf05befecf4a8f98b imagery: remove legacy cleanup --- diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 53c954e8d..936f23cc7 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -98,15 +98,6 @@ action :create do base_domains = [new_resource.site] + Array(new_resource.aliases) tile_domains = base_domains.flat_map { |d| [d, "a.#{d}", "b.#{d}", "c.#{d}"] } - service "mapserv-fcgi-#{new_resource.site}" do - provider Chef::Provider::Service::Systemd - action [:stop, :disable] - end - - systemd_service "mapserv-fcgi-#{new_resource.site}" do - action :delete - end - %w[0 1 2 3 4 5 6 7].each do |index| systemd_service "mapserv-fcgi-#{new_resource.site}-#{index}" do description "Map server for #{new_resource.site} layer"