aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-01-17 12:46:39 +0000
committerNicolas Vigier <boklm@mageia.org>2013-01-17 12:46:39 +0000
commita33f73c126bf7f0f4761a798461072577d69048a (patch)
treea1180aaedea4b6f5a8dd724d611fce8e2804a0df /modules/postgresql/templates
parentb63af512c8b06b2fdd4c6a93755436df98ada69b (diff)
downloadpuppet-a33f73c126bf7f0f4761a798461072577d69048a.tar
puppet-a33f73c126bf7f0f4761a798461072577d69048a.tar.gz
puppet-a33f73c126bf7f0f4761a798461072577d69048a.tar.bz2
puppet-a33f73c126bf7f0f4761a798461072577d69048a.tar.xz
puppet-a33f73c126bf7f0f4761a798461072577d69048a.zip
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.
Diffstat (limited to 'modules/postgresql/templates')
-rw-r--r--modules/postgresql/templates/pg_hba.conf10
1 files changed, 8 insertions, 2 deletions
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