Logstash Module - jinja sytax fix

This commit is contained in:
Mike Reeves
2018-04-18 09:51:02 -04:00
parent 1c90978113
commit 113b69a75f

View File

@@ -220,8 +220,8 @@ path.logs: /var/log/logstash
# Where to find custom plugins
# path.plugins: []
{% set pipeline.workers = salt['pillar.get']('master:ls_pipeline_workers', '1') %}
{% set pipeline.batch = salt['pillar.get']('master:ls_pipeline_batch_size', '125') %}
{% set pipeline_workers = salt['pillar.get']('master:ls_pipeline_workers', '1') %}
{% set pipeline_batch = salt['pillar.get']('master:ls_pipeline_batch_size', '125') %}
pipeline.workers: {{ pipeline.workers }}
pipeline.batch.size: {{ pipeline.batch }}
pipeline.workers: {{ pipeline_workers }}
pipeline.batch.size: {{ pipeline_batch }}