diff options
author | Michael Scherer <misc@mageia.org> | 2010-12-15 01:39:30 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-12-15 01:39:30 +0000 |
commit | b6dd4131755d1ca9ea6779b04ada704f869daaff (patch) | |
tree | ae4f4e0e25bd99af41889313623563e1af263fcc /modules | |
parent | 835e4872047f4cd7cdbec4eb101ded38a7c63bc1 (diff) | |
download | puppet-b6dd4131755d1ca9ea6779b04ada704f869daaff.tar puppet-b6dd4131755d1ca9ea6779b04ada704f869daaff.tar.gz puppet-b6dd4131755d1ca9ea6779b04ada704f869daaff.tar.bz2 puppet-b6dd4131755d1ca9ea6779b04ada704f869daaff.tar.xz puppet-b6dd4131755d1ca9ea6779b04ada704f869daaff.zip |
create the database and user in postgresql
Diffstat (limited to 'modules')
-rw-r--r-- | modules/transifex/manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index f2ab7f7b..8db7706f 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -4,6 +4,17 @@ class transifex { } $password = extlookup("transifex_password",'x') + + @@postgresql::user { 'transifex': + password => $password, + } + + @@postgresql::database { 'transifex': + description => "Transifex database", + user => "transifex", + require => Postgresql::User['transifex'] + } + file { "20-engines.conf": path => "/etc/transifex/20-engines.conf", ensure => present, |