From 2a5198cae41fb15ac179c82d015f6ff83fa86695 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 17 Jun 2021 08:49:21 -0400 Subject: [PATCH 1/2] change perms to resolve error about module-setup.yml being 660 --- salt/filebeat/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/filebeat/init.sls b/salt/filebeat/init.sls index 1517226a3..5b84851a2 100644 --- a/salt/filebeat/init.sls +++ b/salt/filebeat/init.sls @@ -84,7 +84,7 @@ filebeatmoduleconfsync: - source: salt://filebeat/etc/module-setup.yml - user: root - group: root - - mode: 660 + - mode: 640 - template: jinja sodefaults_module_conf: From 8cd2bc7c13cce240cab39441edd99f4329b5bb1f Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 17 Jun 2021 09:37:21 -0400 Subject: [PATCH 2/2] adding so-eval to ES_INCLUDED_NODES --- salt/filebeat/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/filebeat/init.sls b/salt/filebeat/init.sls index 5b84851a2..0cbbf0594 100644 --- a/salt/filebeat/init.sls +++ b/salt/filebeat/init.sls @@ -23,7 +23,7 @@ {% set MANAGERIP = salt['pillar.get']('global:managerip', '') %} {% from 'filebeat/map.jinja' import THIRDPARTY with context %} {% from 'filebeat/map.jinja' import SO with context %} -{% set ES_INCLUDED_NODES = ['so-standalone', 'so-managersearch', 'so-node', 'so-heavynode', 'so-import'] %} +{% set ES_INCLUDED_NODES = ['so-eval', 'so-standalone', 'so-managersearch', 'so-node', 'so-heavynode', 'so-import'] %} #only include elastic state for certain nodes {% if grains.role in ES_INCLUDED_NODES %}