Allow configuration of logstash url

Elastic recheck commands pull the logstash url
from the provided configuration file. Allow this
url to be set.

Change-Id: I5fd2bc05f1cd6647fa43aaa307c47935c64b5f36
Depends-on: I282745796a40f10955e0c9893e817779b2d4d55a
This commit is contained in:
Ramy Asselin 2015-10-23 22:26:14 +00:00
parent 2dd94c3254
commit 9a3f13c2e7
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class elastic_recheck::bot (
$recheck_bot_passwd,
$recheck_bot_nick,
$elastic_search_url = 'http://logstash.openstack.org:80/elasticsearch',
$logstash_url = 'http://logstash.openstack.org',
$subunit2sql_db_uri = 'mysql+pymysql://query:query@logstash.openstack.org/subunit2sql',
$daemon_args = undef,
) {

View File

@ -15,4 +15,5 @@ key=/home/recheck/.ssh/id_rsa
[data_source]
es_url=<%= @elastic_search_url %>
ls_url=<%= @logstash_url %>
db_uri=<%= @subunit2sql_db_uri %>