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
1 changed files with 7 additions and 0 deletions

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'):
svc_systemd['unbound']['needed_by'] = {
'file:/etc/resolv.conf',