From deb0c7b5970e9425b1959c35cacf1640a6a565bd Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 9 Sep 2023 13:55:58 +0200 Subject: [PATCH] bundles/unbound: ensure /usr/share/dns exists --- bundles/unbound/items.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/unbound/items.py b/bundles/unbound/items.py index 519b811..89bce8a 100644 --- a/bundles/unbound/items.py +++ b/bundles/unbound/items.py @@ -41,6 +41,13 @@ svc_systemd = { }, } +directories['/usr/share/dns'] = { + 'before': { + 'pkg_apt:unbound', + 'pkg_apt:unbound-anchor', + }, +} + if node.has_bundle('systemd-networkd'): svc_systemd['unbound']['needed_by'] = { 'file:/etc/resolv.conf',