diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 1 | ||||
-rw-r--r-- | modules/bugzilla/templates/localconfig | 2 |
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 |