From a33f73c126bf7f0f4761a798461072577d69048a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 17 Jan 2013 12:46:39 +0000 Subject: Add class postgresql::pg_hba This adds a parameter conf_lines which can be used as an array to insert new configuration in the pg_hba.conf file. --- modules/postgresql/templates/pg_hba.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/postgresql/templates') diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index 91012a30..6ecafbd4 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -75,8 +75,14 @@ # TYPE DATABASE USER CIDR-ADDRESS METHOD -# This file is in mageia svn: -# $Id$ + +<%- + for line in @conf_lines +-%> +<%= line %> +<%- + end +-%> # Nanar: # This bypass global config for specific user/base -- cgit v1.2.1