Enable mod_lbmethod_byrequests for frontends running 14.04
[chef.git] / cookbooks / web / recipes / frontend.rb
index b6146eb8cc01cd831ab4972ed6806a6416a583de..7b32ed3d119a151b26e61cf1e939915dfb603f3d 100644 (file)
@@ -28,6 +28,10 @@ apache_module "expires"
 apache_module "headers"
 apache_module "proxy_http"
 apache_module "proxy_balancer"
 apache_module "headers"
 apache_module "proxy_http"
 apache_module "proxy_balancer"
+if node[:lsb][:release].to_f >= 14.04
+  apache_module "lbmethod_byrequests"
+  apache_module "lbmethod_bybusyness"
+end
 apache_module "rewrite"
 
 apache_site "default" do
 apache_module "rewrite"
 
 apache_site "default" do