Modified: puppet/modules/transifex/manifests/init.pp
===================================================================
--- puppet/modules/transifex/manifests/init.pp 2010-11-10 17:21:43 UTC (rev 239)
+++ puppet/modules/transifex/manifests/init.pp 2010-11-10 23:58:34 UTC (rev 240)
@@ -2,7 +2,8 @@
package { 'transifex':
ensure => installed
}
-
+
+ $password = extlookup("transifex_password")
file { "20-engines.conf":
path => "/etc/transifex/20-engines.conf",
ensure => present,
Modified: puppet/modules/transifex/templates/20-engines.conf
===================================================================
--- puppet/modules/transifex/templates/20-engines.conf 2010-11-10 17:21:43 UTC (rev 239)
+++ puppet/modules/transifex/templates/20-engines.conf 2010-11-10 23:58:34 UTC (rev 240)
@@ -9,7 +9,7 @@
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