From 7db79b19447c2954280fcdf36e3bc0e3561c9c39 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 22 Mar 2011 17:27:09 +0000 Subject: - do not hardcode the list of database in the file --- modules/postgresql/manifests/init.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/postgresql/manifests') 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, -- cgit v1.2.1