From 0b008f3ae3d83b2f7236981692653cb0f6b4fb4f Mon Sep 17 00:00:00 2001
From: Marco Mariani <marco.mariani@nexedi.com>
Date: Thu, 27 Sep 2012 15:47:47 +0200
Subject: [PATCH] fixed postgres reference

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

diff --git a/stack/lapp/instance-postgres.cfg.in b/stack/lapp/instance-postgres.cfg.in
index c5588eb12..2ca485870 100644
--- a/stack/lapp/instance-postgres.cfg.in
+++ b/stack/lapp/instance-postgres.cfg.in
@@ -57,8 +57,8 @@ bin = $${directories:bin}
 [postgres-promise]
 recipe = slapos.cookbook:check_port_listening
 path = $${directories:promises}/apache
-hostname = $${postgresql:host}
-port = $${postgresql:port}
+hostname = $${postgres-instance:ipv6_host}
+port = $${postgres-instance:port}
 
 
 [publish]
-- 
2.30.9