Fix connectivity

This commit is contained in:
Mike Reeves
2018-10-31 16:53:23 -04:00
parent 8f9450625a
commit 0268f98f8e
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{% if grains['role'] == 'so-master' %}
{% if grains['role'] == 'so-SENSOR' or grains['role'] == 'so-eval' %}
{%- set esclustername = salt['pillar.get']('master:esclustername', '') %}
cluster.name: "{{ esclustername }}"
network.host: 0.0.0.0
@@ -19,6 +19,6 @@ discovery.zen.minimum_master_nodes: 1
path.logs: /var/log/elasticsearch
action.destructive_requires_name: true
transport.bind_host: 0.0.0.0
transport.publish_host: {{ nodeip }}
transport.publish_host: {{ nodeip }}
transport.publish_port: 9300
{%- endif %}