diff options
Diffstat (limited to 'modules/transifex')
-rw-r--r-- | modules/transifex/manifests/init.pp | 4 | ||||
-rw-r--r-- | modules/transifex/templates/20-engines.conf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index c0331958..844b7306 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -4,11 +4,11 @@ class transifex { ensure => installed } - $password = extlookup("transifex_password",'x') + $pgsql_password = extlookup("transifex_pgsql",'x') $ldap_password = extlookup("transifex_ldap",'x') @@postgresql::user { 'transifex': - password => $password, + password => $pgsql_password, } @@postgresql::database { 'transifex': diff --git a/modules/transifex/templates/20-engines.conf b/modules/transifex/templates/20-engines.conf index 1906a438..13eb0334 100644 --- a/modules/transifex/templates/20-engines.conf +++ b/modules/transifex/templates/20-engines.conf @@ -9,7 +9,7 @@ DATABASE_ENGINE = 'postgresql_psycopg2' DATABASE_NAME = 'transifex' # The following are not used for sqlite3 DATABASE_USER = 'transifex' -DATABASE_PASSWORD = '<%= password %>' +DATABASE_PASSWORD = '<%= pgsql_password %>' DATABASE_HOST = 'pgsql.<%= domain %>' # Set to empty string for local socket DATABASE_PORT = '' # Set to empty string for default |