From 16ad51e526dbca7c3afb603c1456a61d8509f60c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 10 Mar 2011 13:11:32 +0000
Subject: [PATCH]  - let haproxy listen on local address, to be protected by
 apache

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44115 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py b/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
index 4c86b36c9d..d9638bf7aa 100644
--- a/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
+++ b/slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
@@ -136,7 +136,7 @@ class Recipe(BaseSlapRecipe):
 
     self.connection_dict.update(
         haproxy_login=self.installHaproxy(
-          ip=self.getGlobalIPv6Address(), port='15000', name='login',
+          ip=self.getLocalIPv4Address(), port='15000', name='login',
           url_list=login_list, server_check_path=
           self.parameter_dict.get('server_check_path', '/erp5/getId')))
     self.connection_dict.update(
-- 
2.30.9