File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+
3+ gem "test-kitchen" , '>=1.20.0'
4+ gem "kitchen-docker"
5+ gem "kitchen-salt" , ">=0.1.0"
6+ gem "kitchen-inspec"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments