From c7e72f7d60927b7ce317602e5a48b2c2949f021e Mon Sep 17 00:00:00 2001
From: skorpy <magnus@skorpy.space>
Date: Thu, 4 Jul 2024 13:59:46 +0200
Subject: [PATCH] knot: fixup

---
 knot-dns/files/knot.conf.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/knot-dns/files/knot.conf.j2 b/knot-dns/files/knot.conf.j2
index 91d6ce3c..39349550 100644
--- a/knot-dns/files/knot.conf.j2
+++ b/knot-dns/files/knot.conf.j2
@@ -66,8 +66,8 @@ template:
     serial-policy: unixtime
     module: mod-synthrecord/v63786
 {%- for remote in salt['pillar.get']('knot-dns:secondary-remote', []) %}
-  - id: secondary-{{ remote }}
-    master: {{ remote }}
+  - id: secondary-{{ remote.id }}
+    master: {{ remote.id }}
     storage: "/var/lib/knot/secondary"
     file: "%s.zone"
     zonefile-sync: -1
-- 
GitLab