mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
fix: corrected indentation on context in file.managed states
This commit is contained in:
parent
02a066939b
commit
120c2d1370
1 changed files with 7 additions and 7 deletions
|
@ -229,10 +229,10 @@ zones{{ dash_view }}-{{ zone }}{{ '.include' if serial_auto else ''}}:
|
||||||
- template: jinja
|
- template: jinja
|
||||||
{% if zone_records != {} %}
|
{% if zone_records != {} %}
|
||||||
- context:
|
- context:
|
||||||
zone: zones{{ dash_view }}-{{ zone }}
|
zone: zones{{ dash_view }}-{{ zone }}
|
||||||
soa: {{ salt['pillar.get']("bind:available_zones:" + zone + ":soa") | json }}
|
soa: {{ salt['pillar.get']("bind:available_zones:" + zone + ":soa") | json }}
|
||||||
records: {{ zone_records | json }}
|
records: {{ zone_records | json }}
|
||||||
include: False
|
include: False
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
||||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||||
|
@ -261,9 +261,9 @@ zones{{ dash_view }}-{{ zone }}:
|
||||||
- template: jinja
|
- template: jinja
|
||||||
{% if zone_records != {} %}
|
{% if zone_records != {} %}
|
||||||
- context:
|
- context:
|
||||||
zone: zones{{ dash_view }}-{{ zone }}
|
zone: zones{{ dash_view }}-{{ zone }}
|
||||||
soa: {{ salt['pillar.get']("bind:available_zones:" + zone + ":soa") | json }}
|
soa: {{ salt['pillar.get']("bind:available_zones:" + zone + ":soa") | json }}
|
||||||
include: {{ zones_directory }}/{{ file }}.include
|
include: {{ zones_directory }}/{{ file }}.include
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
||||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue