X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e051122790c1ad8fda6cff83bd3ecb84380ef738..0d881c7262ed69a06591d7b29f4f9e370e100a8d:/cookbooks/tile/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 89212c2ee..4ab6b8bbd 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -26,6 +26,7 @@ include_recipe "tools" blocks = data_bag_item("tile", "blocks") apache_module "alias" +apache_module "cgi" apache_module "expires" apache_module "headers" apache_module "remoteip" @@ -214,6 +215,7 @@ node[:tile][:data].each_value do |data| if data[:refresh] action :create use_conditional_get true + ignore_failure true else action :create_if_missing end @@ -392,6 +394,7 @@ package "osm2pgsql" package "osmosis" package "ruby" +package "ruby-dev" if node[:lsb][:release].to_f < 14.04 package "rubygems" @@ -402,7 +405,6 @@ package "libxml2-dev" gem_package "proj4rb" gem_package "libxml-ruby" -gem_package "mmap" remote_directory "/usr/local/lib/site_ruby" do source "ruby"