bundles/unbound: ensure /usr/share/dns exists
This commit is contained in:
parent
d1bb94fd74
commit
deb0c7b597
1 changed files with 7 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue