From fdae84bb744b46c6c741ddc78594b0698e982c4a Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 15 May 2020 10:56:16 -0400 Subject: [PATCH] remove = in - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 --- salt/elasticsearch/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/elasticsearch/init.sls b/salt/elasticsearch/init.sls index d7c017710..eae0409f7 100644 --- a/salt/elasticsearch/init.sls +++ b/salt/elasticsearch/init.sls @@ -22,7 +22,7 @@ {% set FEATURES = '' %} {% endif %} -{% if grains['role'] == in ['so-eval','so-mastersearch', 'so-master', 'so-standalone'] %} +{% if grains['role'] in ['so-eval','so-mastersearch', 'so-master', 'so-standalone'] %} {% set esclustername = salt['pillar.get']('master:esclustername', '') %} {% set esheap = salt['pillar.get']('master:esheap', '') %} {% elif grains['role'] == 'so-node' or grains['role'] == 'so-heavynode' %}