From: Ales Komarek Date: Wed, 9 Dec 2015 09:30:16 +0000 (+0100) Subject: bind doc X-Git-Tag: 2016.12~21 X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=commitdiff_plain;h=18bc053ed585f35fae5bb41f8d91a24da21e2c52 bind doc --- 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 %}