From abadb411b5fdba1c8d3793f64f1716b609881270 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 10 Nov 2010 23:58:34 +0000 Subject: Change transifex password --- modules/transifex/manifests/init.pp | 3 ++- modules/transifex/templates/20-engines.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/transifex') diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index 99331921..9485a6b7 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -2,7 +2,8 @@ class transifex { package { 'transifex': ensure => installed } - + + $password = extlookup("transifex_password") file { "20-engines.conf": path => "/etc/transifex/20-engines.conf", ensure => present, diff --git a/modules/transifex/templates/20-engines.conf b/modules/transifex/templates/20-engines.conf index ac59cb45..ed826902 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 = 'transifex' +DATABASE_PASSWORD = '<%= password %>' DATABASE_HOST = 'pgsql.mageia.org' # Set to empty string for local socket DATABASE_PORT = '' # Set to empty string for default -- cgit v1.2.1