From b460085bb0be6b28595e8af7c5587722fbb3dd1f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 28 Jan 2023 17:38:38 +0100 Subject: [PATCH] bundles/powerdns: enable superslave if supported --- bundles/powerdns/files/pdns.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundles/powerdns/files/pdns.conf b/bundles/powerdns/files/pdns.conf index 1e2a5de..c88246f 100644 --- a/bundles/powerdns/files/pdns.conf +++ b/bundles/powerdns/files/pdns.conf @@ -20,8 +20,9 @@ setgid=pdns allow-notify-from=${','.join(sorted(my_primary_servers))} slave=yes -# FIXME enable once debian stable has 4.1.9 -#superslave=yes +% if node.os_version[0] > 10: +superslave=yes +% endif % else: api=yes api-key=${api_key}