X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/10d2c8a50a01aecc5fab09b276a96527c368dde8..f99feeba3be4ba9fef034b8ef969f68778508347:/cookbooks/tile/recipes/default.rb diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 6765252a7..f693f4382 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" @@ -573,7 +555,6 @@ systemd_service "expire-tiles" do user "_renderd" exec_start "/usr/local/bin/expire-tiles" nice 10 - standard_output "null" sandbox true read_write_paths tile_directories + [ "/store/database/nodes", @@ -614,11 +595,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"