You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```bash
Examining bind/config.sls of type state
[204] Lines should be no longer that 160 chars
bind/config.sls:217
{%- do generate_reverse(zone_records, salt['pillar.get']('bind:available_zones:' + zone + ':generate_reverse:net'), salt['pillar.get']('bind:available_zones:' + zone + ':generate_reverse:for_zones'), salt['pillar.get']('bind:available_zones', {})) %}
[206] Jinja variables should have spaces before and after: {{ var_name }}
bind/config.sls:225
zones{{ dash_view }}-{{ zone }}{{ '.include' if serial_auto else ''}}:
[206] Jinja variables should have spaces before and after: {{ var_name }}
bind/config.sls:227
- name: {{ zones_directory }}/{{ file }}{{ '.include' if serial_auto else ''}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
bind/config.sls:295
- unless: "grep {{ key_flags.zsk }} {{ key_directory }}/K{{zone}}.+{{ key_algorithm_field }}+*.key"
[206] Jinja variables should have spaces before and after: {{ var_name }}
bind/config.sls:304
- unless: "grep {{ key_flags.ksk }} {{ key_directory }}/K{{zone}}.+{{ key_algorithm_field }}+*.key"
```
Copy file name to clipboardExpand all lines: bind/config.sls
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -214,17 +214,22 @@ bind_rndc_client_config:
214
214
{%- endif %}
215
215
{%-set zone_records = salt['pillar.get']('bind:available_zones:'+ zone +':records', {}) %}
216
216
{%-if salt['pillar.get']('bind:available_zones:'+ zone +':generate_reverse') %}
217
-
{%- do generate_reverse(zone_records, salt['pillar.get']('bind:available_zones:'+ zone +':generate_reverse:net'), salt['pillar.get']('bind:available_zones:'+ zone +':generate_reverse:for_zones'), salt['pillar.get']('bind:available_zones', {})) %}
217
+
{%- do generate_reverse(
218
+
zone_records,
219
+
salt['pillar.get']('bind:available_zones:'+ zone +':generate_reverse:net'),
220
+
salt['pillar.get']('bind:available_zones:'+ zone +':generate_reverse:for_zones'),
221
+
salt['pillar.get']('bind:available_zones', {})
222
+
) %}
218
223
{%- endif %}
219
224
{# If we define RRs in pillar, we use the internal template to generate the zone file
220
225
otherwise, we fallback to the old behaviour and use the declared file
0 commit comments