X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/10d2c8a50a01aecc5fab09b276a96527c368dde8..29b8151b8011f934785f3434e3826eee78e61943:/cookbooks/tile/recipes/default.rb?ds=sidebyside 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"