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=09ac696e73326b3755559c77264bd0ff45bf9851;hb=ef0b400648327cd4aa2e4c4fbe82fe485daeb17a;hpb=975c4ecb4b1bc1382fa954c92b812f7607ea92b1 diff --git a/elasticsearch/meta/sphinx.yml b/elasticsearch/meta/sphinx.yml index 09ac696..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: Elastic Search - description: It provides a distributed, multitenant-capable full-text search engine with a HTTP web interface and schema-free JSON documents. + 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 %}