aboutsummaryrefslogtreecommitdiffstats
path: root/modules/transifex
diff options
context:
space:
mode:
Diffstat (limited to 'modules/transifex')
-rw-r--r--modules/transifex/manifests/init.pp11
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,