Skip to content
Snippets Groups Projects
Commit f7e01536 authored by skorpy's avatar skorpy :construction_worker:
Browse files

knot: fixup

parent b9c2edb3
No related branches found
No related tags found
No related merge requests found
Pipeline #43494 failed
......@@ -44,9 +44,9 @@ mod-geoip:
ttl: 200
mode: subnet
{%- if salt['pillar.get']('knot-dns.secondary-remote', []) %}
{%- if salt['pillar.get']('knot-dns:secondary-remote', []) %}
remote:
{{ salt['pillar.get']('knot-dns.secondary-remote', []) | yaml(False) | indent(2) }}
{{ salt['pillar.get']('knot-dns:secondary-remote', []) | yaml(False) | indent(2) }}
{%- endif %}
template:
......@@ -65,7 +65,7 @@ template:
file: "%s.zone"
serial-policy: unixtime
module: mod-synthrecord/v63786
{%- for remote in salt['pillar.get']('knot-dns.secondary-remote', []) %}
{%- for remote in salt['pillar.get']('knot-dns:secondary-remote', []) %}
- id: secondary-{{ remote }}
master: {{ remote }}
storage: "/var/lib/knot/secondary"
......@@ -76,4 +76,4 @@ template:
{%- endfor %}
zone:
{{ (knot['zone'] + salt['pillar.get']('knot-dns.secondary-zone', [])) | yaml(False) | indent(2) }}
{{ (knot['zone'] + salt['pillar.get']('knot-dns:secondary-zone', [])) | yaml(False) | indent(2) }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment