From 87df439f794f54da38a2cbbd01b8e81fb821cefa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 17 Feb 2023 19:10:35 +0000 Subject: [PATCH] Remove cleanup code --- cookbooks/tile/recipes/default.rb | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 6765252a7..f642aafb8 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -96,12 +96,6 @@ directory "/srv/tile.openstreetmap.org" do mode "755" end -# Old directory for IP rate limiting, now on the CDN -directory "/srv/tile.openstreetmap.org/conf" do - action :delete - recursive true -end - tile_directories = node[:tile][:styles].collect do |_, style| style[:tile_directories].collect { |directory| directory[:name] } end.flatten.sort.uniq @@ -528,18 +522,6 @@ remote_directory "/usr/local/bin" do files_mode "755" end -file "/usr/local/bin/tile-ratelimit" do - action :delete -end - -service "tile-ratelimit" do - action [:stop, :disable] -end - -systemd_service "tile-ratelimit" do - action :delete -end - template "/usr/local/bin/expire-tiles" do source "expire-tiles.erb" owner "root" @@ -614,11 +596,6 @@ service "replicate" do subscribes :restart, "systemd_service[replicate]" end -# FIXME: cleanup old replicate logrotate -file "/etc/logrotate.d/replicate" do - action :delete -end - template "/usr/local/bin/render-lowzoom" do source "render-lowzoom.erb" owner "root" -- 2.39.5