bundles/unbound: ensure /usr/share/dns exists

This commit is contained in:
Franzi 2023-09-09 13:55:58 +02:00
parent d1bb94fd74
commit deb0c7b597
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -41,6 +41,13 @@ svc_systemd = {
}, },
} }
directories['/usr/share/dns'] = {
'before': {
'pkg_apt:unbound',
'pkg_apt:unbound-anchor',
},
}
if node.has_bundle('systemd-networkd'): if node.has_bundle('systemd-networkd'):
svc_systemd['unbound']['needed_by'] = { svc_systemd['unbound']['needed_by'] = {
'file:/etc/resolv.conf', 'file:/etc/resolv.conf',