X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Finit.sls;h=d6078be946dfd1a7e12ed169ce359598a488317f;hp=fadf2bf4cec9ea792375959a80cb9dfe35671488;hb=7c5ab013a720cf1f175cea1b586aa6b5af4981b7;hpb=5163dfb7b145991603a877b6e862c877ac0f3962 diff --git a/elasticsearch/init.sls b/elasticsearch/init.sls index fadf2bf..d6078be 100644 --- a/elasticsearch/init.sls +++ b/elasticsearch/init.sls @@ -1,5 +1,10 @@ -{% if pillar.elasticsearch.server is defined %} +{%- if pillar.elasticsearch is defined %} include: +{%- if pillar.elasticsearch.server is defined %} - elasticsearch.server -{% endif %} +{%- endif %} +{%- if pillar.elasticsearch.client is defined %} +- elasticsearch.client +{%- endif %} +{%- endif %}