aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-07 02:40:26 +0000
committerMichael Scherer <misc@mageia.org>2010-12-07 02:40:26 +0000
commita25424114904e5079121d988bce5f8420c5c1e8b (patch)
treebcf999bc1c86c74a2cdb0ece6bf711bd5feb8f1d
parentdc86f27c498f48398591517b449d94e5405f7b32 (diff)
downloadpuppet-a25424114904e5079121d988bce5f8420c5c1e8b.tar
puppet-a25424114904e5079121d988bce5f8420c5c1e8b.tar.gz
puppet-a25424114904e5079121d988bce5f8420c5c1e8b.tar.bz2
puppet-a25424114904e5079121d988bce5f8420c5c1e8b.tar.xz
puppet-a25424114904e5079121d988bce5f8420c5c1e8b.zip
create the database and user on the server, using exported ressources
-rw-r--r--modules/postgresql/manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp
index 1c1fa775..4982072d 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -67,6 +67,9 @@ class postgresql {
content => template("postgresql/pg_ident.conf"),
require => Package["postgresql-server"],
}
+
+ Postgresql::User <<| |>>
+ Postgresql::Database <<| |>>
}