- service "mapserv-fcgi-#{new_resource.site}" do
- provider Chef::Provider::Service::Systemd
- action [:stop, :disable]
- end
+ %w[0 1 2 3 4 5 6 7].each do |index|
+ service "mapserv-fcgi-#{new_resource.site}-#{index}" do
+ provider Chef::Provider::Service::Systemd
+ action [:stop, :disable]
+ end