Enable mod_lbmethod_bybusyness for frontends running 14.04
authorTom Hughes <tom@compton.nu>
Fri, 29 Aug 2014 12:06:20 +0000 (13:06 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 29 Aug 2014 12:06:20 +0000 (13:06 +0100)
cookbooks/web/recipes/frontend.rb

index b6146eb..60b63eb 100644 (file)
@@ -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