From e8a4b072e457464e4fdece71099467212b08a729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Thu, 20 Apr 2017 12:51:42 +0200 Subject: bugzilla: Fix localconfig by adding secret key --- modules/bugzilla/manifests/init.pp | 11 +++++------ modules/bugzilla/templates/localconfig | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/bugzilla') diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 6fc4eddd..d2254300 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -32,12 +32,11 @@ class bugzilla { password => $pgsql_password, } -# Only enable the first time ( need to be fixed)' -# file { "$bugzilla_location/localconfig": -# group => 'apache', -# mode => '0640', -# content => template('bugzilla/localconfig') -# } + file { "$bugzilla_location/localconfig": + group => 'apache', + mode => '0640', + content => template('bugzilla/localconfig') + } file { "$bugzilla_location/data/params.json": diff --git a/modules/bugzilla/templates/localconfig b/modules/bugzilla/templates/localconfig index fc10086b..3e304084 100644 --- a/modules/bugzilla/templates/localconfig +++ b/modules/bugzilla/templates/localconfig @@ -119,3 +119,4 @@ $interdiffbin = '/usr/bin/interdiff'; # are using that feature of the Patch Viewer.) $diffpath = '/usr/bin'; +$site_wide_secret = '<%= bugzilla_secret_key %>'; -- cgit v1.2.1