include_recipe "apache::ssl"
include_recipe "web::rails"
+web_passwords = data_bag_item("web", "passwords")
+
apache_module "alias"
apache_module "deflate"
apache_module "expires"
apache_module "headers"
apache_module "proxy_http"
apache_module "proxy_balancer"
+apache_module "lbmethod_byrequests"
+apache_module "lbmethod_bybusyness"
apache_module "rewrite"
apache_site "default" do
- action [ :disable ]
+ action [:disable]
end
apache_site "www.openstreetmap.org" do
template "apache.frontend.erb"
+ variables :secret_key_base => web_passwords["secret_key_base"]
end
gem_package "hpricot"