From fa67bd13f4cfe26fd5be796eef09c48cb3d09ca6 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 16 Oct 2020 13:19:44 +0200 Subject: [PATCH] bundles/powerdns: minimal pdns.conf --- bundles/powerdns/files/pdns.conf | 3 +++ bundles/powerdns/items.py | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 bundles/powerdns/files/pdns.conf create mode 100644 bundles/powerdns/items.py diff --git a/bundles/powerdns/files/pdns.conf b/bundles/powerdns/files/pdns.conf new file mode 100644 index 0000000..4c2b1dc --- /dev/null +++ b/bundles/powerdns/files/pdns.conf @@ -0,0 +1,3 @@ +launch=bind,psql + +include-dir=/etc/powerdns/pdns.d diff --git a/bundles/powerdns/items.py b/bundles/powerdns/items.py new file mode 100644 index 0000000..30b64d6 --- /dev/null +++ b/bundles/powerdns/items.py @@ -0,0 +1,13 @@ +directories = { + '/etc/powerdns/pdns.d': { + 'purge': True, + }, +} + +files = { + '/etc/powerdns/pdns.conf': { + 'needs': { + 'pkg_apt:pdns-server', + }, + }, +}