aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-20 12:51:42 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-20 12:51:42 +0200
commite8a4b072e457464e4fdece71099467212b08a729 (patch)
tree80c67bb3db23236defa7457ef6fc14a80ccae2bf /modules/bugzilla
parent20d1171943c221dc2ddb9a5524aa0cf7972ea11d (diff)
downloadpuppet-e8a4b072e457464e4fdece71099467212b08a729.tar
puppet-e8a4b072e457464e4fdece71099467212b08a729.tar.gz
puppet-e8a4b072e457464e4fdece71099467212b08a729.tar.bz2
puppet-e8a4b072e457464e4fdece71099467212b08a729.tar.xz
puppet-e8a4b072e457464e4fdece71099467212b08a729.zip
bugzilla: Fix localconfig by adding secret key
Diffstat (limited to 'modules/bugzilla')
-rwxr-xr-xmodules/bugzilla/manifests/init.pp11
-rw-r--r--modules/bugzilla/templates/localconfig1
2 files changed, 6 insertions, 6 deletions
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 %>';