bundles/powerdns: fix dependencies
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-12-18 06:41:24 +01:00
parent 63d455d242
commit e81fcafe7a
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -68,8 +68,6 @@ files = {
svc_systemd = { svc_systemd = {
'pdns': { 'pdns': {
'needs': { 'needs': {
'directory:',
'file:',
'pkg_apt:pdns-server', 'pkg_apt:pdns-server',
'pkg_apt:pdns-backend-bind', 'pkg_apt:pdns-backend-bind',
'pkg_apt:pdns-backend-pgsql', 'pkg_apt:pdns-backend-pgsql',
@ -111,12 +109,18 @@ if node.metadata['powerdns'].get('features', {}).get('bind', False):
'triggers': { 'triggers': {
'action:powerdns_reload_zones', 'action:powerdns_reload_zones',
}, },
'needed_by': {
'svc_systemd:pdns',
},
} }
files['/etc/powerdns/pdns.d/bind.conf'] = { files['/etc/powerdns/pdns.d/bind.conf'] = {
'needs': { 'needs': {
'pkg_apt:pdns-backend-bind', 'pkg_apt:pdns-backend-bind',
}, },
'needed_by': {
'svc_systemd:pdns',
},
'triggers': { 'triggers': {
'action:powerdns_reload_zones', 'action:powerdns_reload_zones',
}, },
@ -130,6 +134,9 @@ if node.metadata['powerdns'].get('features', {}).get('bind', False):
'needs': { 'needs': {
'pkg_apt:pdns-backend-bind', 'pkg_apt:pdns-backend-bind',
}, },
'needed_by': {
'svc_systemd:pdns',
},
'triggers': { 'triggers': {
'action:powerdns_reload_zones', 'action:powerdns_reload_zones',
}, },
@ -144,6 +151,9 @@ if node.metadata['powerdns'].get('features', {}).get('pgsql', False):
'needs': { 'needs': {
'pkg_apt:pdns-backend-pgsql', 'pkg_apt:pdns-backend-pgsql',
}, },
'needed_by': {
'svc_systemd:pdns',
},
'triggers': { 'triggers': {
'action:powerdns_reload_zones', 'action:powerdns_reload_zones',
}, },
@ -161,4 +171,7 @@ if node.metadata['powerdns'].get('features', {}).get('pgsql', False):
'needed_by': { 'needed_by': {
'svc_systemd:pdns', 'svc_systemd:pdns',
}, },
'needed_by': {
'svc_systemd:pdns',
},
} }