Add configuration option to disable top level menu for javamelody plugin

Change-Id: I696db6a16b1ba57000951186367501c376f321de
This commit is contained in:
David Ostrovsky 2014-04-30 00:18:20 +02:00
parent d56857a0cf
commit 4d312a5957
3 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class gerrit(
$testmode = false,
$secondary_index = false,
$secondary_index_type = 'LUCENE',
$enable_javamelody_top_menu = false,
) {
include apache
include jeepyb

View File

@ -101,6 +101,8 @@
[melody]
monitoring = <%= enable_melody %>
session = <%= melody_session %>
[plugin "javamelody"]
allowTopMenu = <%= enable_javamelody_top_menu %>
<% if gitweb or cgit -%>
[gitweb]
<% if gitweb -%>

View File

@ -108,6 +108,7 @@ class openstack_project::gerrit (
enable_melody => true,
melody_session => true,
robots_txt_source => 'puppet:///modules/openstack_project/gerrit/robots.txt',
enable_javamelody_top_menu => false,
# passthrough
ssl_cert_file => $ssl_cert_file,
ssl_key_file => $ssl_key_file,