Populate the data_source in elastic-recheck.conf
This allows non-default values to be used. Change-Id: I26b0e1df8618f3285ccdeff3b736443e64bf820c
This commit is contained in:
parent
3111028c67
commit
4677af4140
@ -24,6 +24,8 @@ class elastic_recheck::bot (
|
||||
$recheck_ssh_public_key = undef,
|
||||
$recheck_bot_passwd,
|
||||
$recheck_bot_nick,
|
||||
$elastic_search_url = 'http://logstash.openstack.org/elasticsearch',
|
||||
$subunit2sql_db_uri = 'mysql+pymysql://query:query@logstash.openstack.org/subunit2sql',
|
||||
) {
|
||||
include ::elastic_recheck
|
||||
|
||||
|
@ -12,3 +12,7 @@ host=<%= @gerrit_host %>
|
||||
user=<%= @recheck_gerrit_user %>
|
||||
query_file=/etc/elastic-recheck/queries
|
||||
key=/home/recheck/.ssh/id_rsa
|
||||
|
||||
[data_source]
|
||||
es_url=<%= @elastic_search_url %>
|
||||
db_uri=<%= @subunit2sql_db_uri %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user