X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Fmeta%2Fsphinx.yml;h=9181a307a1d31b632301d70e538827f09e2400b8;hp=67866df645ca3ddbf62f433572f5b193e2a4b5d8;hb=6c815a95a7d7f41599713b6a48826c89a913dd69;hpb=dd881a6cf00c4b5c76ed2e1db27924c43930abd7 diff --git a/elasticsearch/meta/sphinx.yml b/elasticsearch/meta/sphinx.yml index 67866df..9181a30 100644 --- a/elasticsearch/meta/sphinx.yml +++ b/elasticsearch/meta/sphinx.yml @@ -1,9 +1,13 @@ +{%- from "elasticsearch/map.jinja" import server with context %} +{%- if pillar.elasticsearch.server is defined %} doc: name: Elasticsearch description: Elasticsearch provides a distributed, multitenant-capable full-text search engine with a HTTP web interface and schema-free JSON documents. role: - {%- if pillar.elasticsearch.server is defined %} server: name: server - param: {} - {%- endif %} + param: + bind: + name: Network bind + value: {{ server.bind.address }}:{{ server.bind.port }} +{%- endif %}