diff --git a/salt/elasticsearch/init.sls b/salt/elasticsearch/init.sls index eb8f281b5..4ebe05cec 100644 --- a/salt/elasticsearch/init.sls +++ b/salt/elasticsearch/init.sls @@ -38,8 +38,8 @@ {% set esclustername = salt['pillar.get']('elasticsearch:esclustername') %} {% set esheap = salt['pillar.get']('elasticsearch:esheap') %} {% set ismanager = False %} -{% else %} - {% set ismanager = False %} +{% elif grains['role'] = 'so-helix' %} + {% set ismanager = True %} {# Solely for the sake of running so-catrust #} {% endif %} {% set TEMPLATES = salt['pillar.get']('elasticsearch:templates', {}) %}