aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 17:27:09 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 17:27:09 +0000
commit7db79b19447c2954280fcdf36e3bc0e3561c9c39 (patch)
tree079ec5fc2b9a7949ab845d803a2c19f7f1b5fea3 /modules/postgresql/manifests
parent1efbb7c5845560bc766388c1b113fb7ead193d3f (diff)
downloadpuppet-7db79b19447c2954280fcdf36e3bc0e3561c9c39.tar
puppet-7db79b19447c2954280fcdf36e3bc0e3561c9c39.tar.gz
puppet-7db79b19447c2954280fcdf36e3bc0e3561c9c39.tar.bz2
puppet-7db79b19447c2954280fcdf36e3bc0e3561c9c39.tar.xz
puppet-7db79b19447c2954280fcdf36e3bc0e3561c9c39.zip
- do not hardcode the list of database in the file
Diffstat (limited to 'modules/postgresql/manifests')
-rw-r--r--modules/postgresql/manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp
index a1f39b95..5ba79811 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -60,6 +60,7 @@ class postgresql {
# TODO use augeas to manage this file once augeas 0.7.4 is installed
# on our server, as this would allow use to autodeclare database in it without
# much trouble
+ $db = list_exported_ressources('Postgresql::Database')
file { 'pg_hba.conf':
path => "$pgsql_data/pg_hba.conf",
ensure => present,