From 5ac24eeab649667b93e396617e87055f8ee09b9e Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 22 Mar 2011 18:42:50 +0000 Subject: - use the new db_and_user type to manage the list of database access --- modules/postgresql/manifests/init.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/postgresql') diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index 9b01a407..d171e23f 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -57,10 +57,7 @@ class postgresql { require => Package["postgresql-server"], } - # 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') + $db = list_exported_ressources('Postgresql::Db_and_user') file { 'pg_hba.conf': path => "$pgsql_data/pg_hba.conf", ensure => present, -- cgit v1.2.1