X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b76afa444b44154746a0e5b2217ce678d8719e1f..aad00cd68c41d392875a7d458ebe04cbf9796673:/cookbooks/tile/recipes/default.rb diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 4ab6b8bbd..5c923c8b7 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -188,21 +188,6 @@ node[:tile][:data].each_value do |data| end end - if data[:processed] - original = "#{directory}/#{data[:original]}" - processed = "#{directory}/#{data[:processed]}" - - package "gdal-bin" - - execute processed do - action :nothing - command "ogr2ogr #{processed} #{original}" - user "tile" - group "tile" - subscribes :run, "execute[#{file}]", :immediately - end - end - execute "#{file}_shapeindex" do action :nothing command "find #{directory} -type f -iname '*.shp' -print0 | xargs -0 --no-run-if-empty shapeindex --shape_files" @@ -396,10 +381,6 @@ package "osmosis" package "ruby" package "ruby-dev" -if node[:lsb][:release].to_f < 14.04 - package "rubygems" -end - package "libproj-dev" package "libxml2-dev"