1 {%- if pillar.elasticsearch.server is defined %}
2 {%- from "elasticsearch/map.jinja" import server with context %}
7 template: elasticsearch/files/collectd_elasticsearch_cluster.conf
8 address: {{ server.get('bind', {}).get('address', '127.0.0.1') }}
9 port: {{ server.get('bind', {}).get('port', 9200) }}
13 match: 'java.*elasticsearch'