Add support for parameterized gerrit ports.
Actually, it's support for parameterized listen_address, but the real thing you want it for is setting the port. Change-Id: If75fedce32f35a8f72c92fc709d5c9e8b2d35235 Reviewed-on: https://review.openstack.org/33925 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
eff39bb41b
commit
499ee08c94
@ -24,6 +24,7 @@
|
||||
# core_packedgitlimit:
|
||||
# core_packedgitwindowsize:
|
||||
# sshd_threads:
|
||||
# sshd_listen_address:
|
||||
# httpd_acceptorthreads:
|
||||
# httpd_minthreads:
|
||||
# httpd_maxthreads:
|
||||
@ -95,6 +96,7 @@ class gerrit(
|
||||
$core_packedgitlimit = '',
|
||||
$core_packedgitwindowsize = '',
|
||||
$sshd_threads = '',
|
||||
$sshd_listen_address = '*:29418',
|
||||
$httpd_acceptorthreads = '',
|
||||
$httpd_minthreads = '',
|
||||
$httpd_maxthreads = '',
|
||||
|
@ -37,7 +37,7 @@
|
||||
packedGitWindowSize = <%= core_packedgitwindowsize %>
|
||||
<% end -%>
|
||||
[sshd]
|
||||
listenAddress = *:29418
|
||||
listenAddress = <%= sshd_listen_address %>
|
||||
<% if sshd_threads != "" -%>
|
||||
threads = <%= sshd_threads %>
|
||||
<% end -%>
|
||||
|
Loading…
x
Reference in New Issue
Block a user