diff --git a/modules/gerrit/manifests/init.pp b/modules/gerrit/manifests/init.pp index 2eb5f2865e..22e119b5aa 100644 --- a/modules/gerrit/manifests/init.pp +++ b/modules/gerrit/manifests/init.pp @@ -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 = '', diff --git a/modules/gerrit/templates/gerrit.config.erb b/modules/gerrit/templates/gerrit.config.erb index a31582f94a..ae9c8f6420 100644 --- a/modules/gerrit/templates/gerrit.config.erb +++ b/modules/gerrit/templates/gerrit.config.erb @@ -37,7 +37,7 @@ packedGitWindowSize = <%= core_packedgitwindowsize %> <% end -%> [sshd] - listenAddress = *:29418 + listenAddress = <%= sshd_listen_address %> <% if sshd_threads != "" -%> threads = <%= sshd_threads %> <% end -%>