[Mageia-sysadm] [240] Change transifex password
root at mageia.org
root at mageia.org
Thu Nov 11 00:58:34 CET 2010
Revision: 240
Author: dmorgan
Date: 2010-11-11 00:58:34 +0100 (Thu, 11 Nov 2010)
Log Message:
-----------
Change transifex password
Modified Paths:
--------------
puppet/modules/transifex/manifests/init.pp
puppet/modules/transifex/templates/20-engines.conf
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101111/29e24840/attachment.html>
More information about the Mageia-sysadm
mailing list