X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e635b4b8187951f9e714d958aafd7858ee1aae1b..90f61f02af30dcf19266d103048b96c576b691fd:/cookbooks/tile/recipes/default.rb diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 85af49c46..c76956354 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" @@ -392,14 +393,18 @@ package "osm2pgsql" package "osmosis" package "ruby" -package "rubygems" +package "ruby-dev" + +if node[:lsb][:release].to_f < 14.04 + package "rubygems" +end package "libproj-dev" package "libxml2-dev" gem_package "proj4rb" gem_package "libxml-ruby" -gem_package "mmap" +gem_package "simple-mmap" remote_directory "/usr/local/lib/site_ruby" do source "ruby"