From 4f52fc49c228e637f9d1c70ba367055178230083 Mon Sep 17 00:00:00 2001
From: Marco Mariani <marco.mariani@nexedi.com>
Date: Thu, 27 Sep 2012 17:24:07 +0200
Subject: [PATCH] -

---
 slapos/recipe/postgres/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/postgres/__init__.py b/slapos/recipe/postgres/__init__.py
index babd893cd..f094e6c73 100644
--- a/slapos/recipe/postgres/__init__.py
+++ b/slapos/recipe/postgres/__init__.py
@@ -133,7 +133,7 @@ class Recipe(GenericBaseRecipe):
                     host    all             all             127.0.0.1/32            md5
                     host    all             all             ::1/128                 md5
                     host    all             all             %s/128                  md5
-                    """ % host))
+                    """ % self.fetch_host(self.options)))
 
 
     def createDatabase(self):
-- 
2.30.9