]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: remove legacy cleanup
authorGrant Slater <git@firefishy.com>
Thu, 20 Dec 2018 16:51:55 +0000 (16:51 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 20 Dec 2018 16:51:55 +0000 (16:51 +0000)
cookbooks/imagery/resources/site.rb

index 53c954e8d64fdeab5b3b3574c24f91ced7c3b6a4..936f23cc7f9149bb8114f7fa746d40b2793663a5 100644 (file)
@@ -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"