aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-10 00:57:44 +0000
committerMichael Scherer <misc@mageia.org>2010-11-10 00:57:44 +0000
commit5fa5866e8731b0fe8494dcb2ce76f45e36fb437c (patch)
treec9a48b99b48b824b7f12ca54d87b412b53199a05 /modules/bugzilla
parent567ba2d1640be888a56325ac3191f11b0c372ea3 (diff)
downloadpuppet-5fa5866e8731b0fe8494dcb2ce76f45e36fb437c.tar
puppet-5fa5866e8731b0fe8494dcb2ce76f45e36fb437c.tar.gz
puppet-5fa5866e8731b0fe8494dcb2ce76f45e36fb437c.tar.bz2
puppet-5fa5866e8731b0fe8494dcb2ce76f45e36fb437c.tar.xz
puppet-5fa5866e8731b0fe8494dcb2ce76f45e36fb437c.zip
- do not store password in clear in the svn
Diffstat (limited to 'modules/bugzilla')
-rw-r--r--modules/bugzilla/manifests/init.pp1
-rw-r--r--modules/bugzilla/templates/localconfig2
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 2649c217..6f758ce5 100644
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -4,6 +4,7 @@ class bugzilla {
ensure => installed;
}
+ $password = extlookup("bugzilla_password")
file { '/etc/bugzilla/localconfig':
ensure => present,
owner => root,
diff --git a/modules/bugzilla/templates/localconfig b/modules/bugzilla/templates/localconfig
index b29ba242..23089510 100644
--- a/modules/bugzilla/templates/localconfig
+++ b/modules/bugzilla/templates/localconfig
@@ -56,7 +56,7 @@ $db_user = 'bugs';
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a '\' character. (\') or (\)
# (Far simpler just not to use those characters.)
-$db_pass = 'bugs';
+$db_pass = '<%= password %>';
# Sometimes the database server is running on a non-standard port. If that's
# the case for your database server, set this to the port number that your