aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 18:42:50 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 18:42:50 +0000
commit5ac24eeab649667b93e396617e87055f8ee09b9e (patch)
tree73ba12b21b8772c9acdc4eadce998fa4af231eb5 /modules/postgresql
parent57a8a15b3e6a9ac4c678778e1e663e3e1f45e026 (diff)
downloadpuppet-5ac24eeab649667b93e396617e87055f8ee09b9e.tar
puppet-5ac24eeab649667b93e396617e87055f8ee09b9e.tar.gz
puppet-5ac24eeab649667b93e396617e87055f8ee09b9e.tar.bz2
puppet-5ac24eeab649667b93e396617e87055f8ee09b9e.tar.xz
puppet-5ac24eeab649667b93e396617e87055f8ee09b9e.zip
- use the new db_and_user type to manage the list of database access
Diffstat (limited to 'modules/postgresql')
-rw-r--r--modules/postgresql/manifests/init.pp5
1 files changed, 1 insertions, 4 deletions
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,