From: Tom Hughes Date: Fri, 29 Aug 2014 12:06:20 +0000 (+0100) Subject: Enable mod_lbmethod_bybusyness for frontends running 14.04 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/730f0d67fe251d7d62693af4885f4d94bec6f16c?hp=e148bf831efe1a669640d637cb1e9546776f52f1 Enable mod_lbmethod_bybusyness for frontends running 14.04 --- diff --git a/cookbooks/web/recipes/frontend.rb b/cookbooks/web/recipes/frontend.rb index b6146eb8c..60b63eb2f 100644 --- a/cookbooks/web/recipes/frontend.rb +++ b/cookbooks/web/recipes/frontend.rb @@ -28,6 +28,9 @@ apache_module "expires" apache_module "headers" apache_module "proxy_http" apache_module "proxy_balancer" +if node[:lsb][:release].to_f >= 14.04 + apache_module "lbmethod_bybusyness" +end apache_module "rewrite" apache_site "default" do