]> git.openstreetmap.org Git - chef.git/commitdiff
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 b6146eb8cc01cd831ab4972ed6806a6416a583de..60b63eb2fc74892ec67b3dc53acabef53742e544 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