X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/10d2c8a50a01aecc5fab09b276a96527c368dde8..e0561daeb2ceeb25a6be1c228f4bd0901197f53a:/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"