hotfix for avoid oss issues in cookiecutter model
TODO: vnaumov
define normal variables for common -es structure between SL and ES
Change-Id: I8c0dab6dfd82fc8328f1d58ebfef07664648a663
diff --git a/elasticsearch/client/single.yml b/elasticsearch/client/single.yml
index c4e2b43..41a3b57 100644
--- a/elasticsearch/client/single.yml
+++ b/elasticsearch/client/single.yml
@@ -1,9 +1,12 @@
classes:
- service.elasticsearch.client
parameters:
+ _param:
+ elasticsearch_client_host: ${_param:stacklight_log_address}
+ elasticsearch_client_port: 9200
elasticsearch:
client:
enabled: true
server:
- host: ${_param:stacklight_log_address}
- port: ${_param:haproxy_elasticsearch_http_bind_port}
+ host: ${_param:elasticsearch_client_host}
+ port: ${_param:elasticsearch_client_port}