From a5f2ec8a7799c1e6d0b69e489698fa00f4a48607 Mon Sep 17 00:00:00 2001
From: Marco Mariani <marco.mariani@nexedi.com>
Date: Thu, 27 Sep 2012 16:19:50 +0200
Subject: [PATCH] use global-ipv6 instead of ipv6_host to avoid !py!

---
 stack/lapp/instance-postgres.cfg.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/stack/lapp/instance-postgres.cfg.in b/stack/lapp/instance-postgres.cfg.in
index 2ca485870f..41e15a2148 100644
--- a/stack/lapp/instance-postgres.cfg.in
+++ b/stack/lapp/instance-postgres.cfg.in
@@ -56,8 +56,9 @@ bin = $${directories:bin}
 # Deploy promises scripts
 [postgres-promise]
 recipe = slapos.cookbook:check_port_listening
-path = $${directories:promises}/apache
-hostname = $${postgres-instance:ipv6_host}
+path = $${directories:promises}/postgres
+#hostname = $${postgres-instance:ipv6_host}
+hostname = $${slap-network-information:global-ipv6}
 port = $${postgres-instance:port}
 
 
-- 
2.30.9