From 408b3695e0c5bce1bdced5abcb1353799fb07c64 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 19 Feb 2020 14:12:18 -0500 Subject: [PATCH] add back deleted states to logstash state --- salt/logstash/init.sls | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/salt/logstash/init.sls b/salt/logstash/init.sls index d23983b4b..3637cfe46 100644 --- a/salt/logstash/init.sls +++ b/salt/logstash/init.sls @@ -125,6 +125,24 @@ ls_pipeline_{{PL}}_{{CONFIGFILE.split('.')[0]}}: {% endfor %} {% endfor %} +lspipelinesyml: + file.managed: + - name: /opt/so/conf/logstash/etc/pipelines.yml + - source: salt://logstash/etc/pipelines.yml.jinja + - template: jinja + - defaults: + pipelines: {{ pipelines }} + +# Copy down all the configs including custom - TODO add watch restart +lsetcsync: + file.recurse: + - name: /opt/so/conf/logstash/etc + - source: salt://logstash/etc + - user: 931 + - group: 939 + - template: jinja + - exclude_pat: pipelines* + lssync: file.recurse: - name: /opt/so/conf/logstash/dynamic