diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-08-22 12:37:40 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-08-22 12:37:40 +0000 |
commit | 913f60823ec2bd2792760d83997e337f46ee269c (patch) | |
tree | bd44db96a77425a6bef8276461af4e3136f42b35 /modules/postgresql | |
parent | cdb5d5f293e097f472320a7718c18f8ff18162f0 (diff) | |
download | puppet-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.pp | 1 |
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: |