blocks = data_bag_item("tile", "blocks")
apache_module "alias"
+apache_module "cgi"
apache_module "expires"
apache_module "headers"
apache_module "remoteip"
if data[:refresh]
action :create
use_conditional_get true
+ ignore_failure true
else
action :create_if_missing
end
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"
remote_directory "/usr/local/lib/site_ruby" do
source "ruby"