Skip to content

Commit 40d4be4

Browse files
committed
Fix misplaced parenthesis introduced in #92
1 parent 32459c7 commit 40d4be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bind/config.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bind_rndc_client_config:
169169
{% endif %}
170170
171171
{% for zone, zone_data in salt['pillar.get']('bind:configured_zones', {}).items() -%}
172-
{%- set file = salt['pillar.get']("bind:available_zones:" + zone + ":file"), false %}
172+
{%- set file = salt['pillar.get']("bind:available_zones:" + zone + ":file", false) %}
173173
{%- set zone_records = salt['pillar.get']('bind:available_zones:' + zone + ':records', {}) %}
174174
{# If we define RRs in pillar, we use the internal template to generate the zone file
175175
otherwise, we fallback to the old behaviour and use the declared file
@@ -208,7 +208,7 @@ signed-{{ zone }}:
208208
209209
{%- for view, view_data in salt['pillar.get']('bind:configured_views', {}).items() %}
210210
{% for zone, zone_data in view_data.get('configured_zones', {}).items() -%}
211-
{%- set file = salt['pillar.get']("bind:available_zones:" + zone + ":file"), false %}
211+
{%- set file = salt['pillar.get']("bind:available_zones:" + zone + ":file", false) %}
212212
{%- set zone_records = salt['pillar.get']('bind:available_zones:' + zone + ':records', {}) %}
213213
{# If we define RRs in pillar, we use the internal template to generate the zone file
214214
otherwise, we fallback to the old behaviour and use the declared file

0 commit comments

Comments
 (0)