Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 3101e94

Browse files
committed
Merge pull request #56 from nwheeler/master
Add support for sonar.search.host and sonar.search.port properties
2 parents e267bac + e8b2a35 commit 3101e94

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

manifests/init.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
$profile = false,
5050
$web_java_opts = undef,
5151
$search_java_opts = undef,
52+
$search_host = '127.0.0.1',
53+
$search_port = '9001',
5254
$config = undef,
5355
) inherits sonarqube::params {
5456
validate_absolute_path($download_dir)

templates/sonar.properties.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ sonar.web.https.keystoreType=<%= @https['keystoretype'] %>
122122
sonar.search.javaOpts=<%= @search_java_opts %>
123123
<% end -%>
124124

125+
sonar.search.port=<%= @search_port %>
126+
sonar.search.host=<%= @search_host %>
127+
125128
#-----------------------------------------------------------------------
126129
# DATABASE
127130
#

0 commit comments

Comments
 (0)