add back deleted states to logstash state

This commit is contained in:
m0duspwnens
2020-02-19 14:12:18 -05:00
parent c396342aea
commit 408b3695e0

View File

@@ -125,6 +125,24 @@ ls_pipeline_{{PL}}_{{CONFIGFILE.split('.')[0]}}:
{% endfor %} {% endfor %}
{% 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: lssync:
file.recurse: file.recurse:
- name: /opt/so/conf/logstash/dynamic - name: /opt/so/conf/logstash/dynamic