aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-22 12:37:40 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-22 12:37:40 +0000
commit913f60823ec2bd2792760d83997e337f46ee269c (patch)
treebd44db96a77425a6bef8276461af4e3136f42b35 /modules/postgresql
parentcdb5d5f293e097f472320a7718c18f8ff18162f0 (diff)
downloadpuppet-913f60823ec2bd2792760d83997e337f46ee269c.tar
puppet-913f60823ec2bd2792760d83997e337f46ee269c.tar.gz
puppet-913f60823ec2bd2792760d83997e337f46ee269c.tar.bz2
puppet-913f60823ec2bd2792760d83997e337f46ee269c.tar.xz
puppet-913f60823ec2bd2792760d83997e337f46ee269c.zip
create user before creating database
Diffstat (limited to 'modules/postgresql')
-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 04a2cc75..43d27803 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -141,6 +141,7 @@ class postgresql {
callback_notify => $callback_notify,
description => $description,
user => $name,
+ require => Postgresql::User[$name],
}
postgresql::user { $name: