Skip to content

Commit 4b07c29

Browse files
committed
add missing quotes
1 parent 2f42c20 commit 4b07c29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

roles/rsyslog/templates/sc_ruleset.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ $RuleSet {{ item.name }}
55

66
{% for app, config in rsyslog_central_apps.items() %}
77
if $programname == "{{ config.program }}"
8-
{%- if 'contains' in config %} and $msg contains {{ config.contains }} {% endif -%}
9-
{%- if 'startswith' in config %} and $msg startswith {{ config.startswith }} {% endif %}
8+
{%- if 'contains' in config %} and $msg contains '{{ config.contains }}' {% endif -%}
9+
{%- if 'startswith' in config %} and $msg startswith '{{ config.startswith }}' {% endif %}
1010
then { action(type="omfile" DynaFile="{{ app }}-{{ item.name }}") stop }}
1111
{% endfor %}
1212

0 commit comments

Comments
 (0)