bundles/powerdns: fix dependencies
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
63d455d242
commit
e81fcafe7a
1 changed files with 15 additions and 2 deletions
|
@ -68,8 +68,6 @@ files = {
|
|||
svc_systemd = {
|
||||
'pdns': {
|
||||
'needs': {
|
||||
'directory:',
|
||||
'file:',
|
||||
'pkg_apt:pdns-server',
|
||||
'pkg_apt:pdns-backend-bind',
|
||||
'pkg_apt:pdns-backend-pgsql',
|
||||
|
@ -111,12 +109,18 @@ if node.metadata['powerdns'].get('features', {}).get('bind', False):
|
|||
'triggers': {
|
||||
'action:powerdns_reload_zones',
|
||||
},
|
||||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
}
|
||||
|
||||
files['/etc/powerdns/pdns.d/bind.conf'] = {
|
||||
'needs': {
|
||||
'pkg_apt:pdns-backend-bind',
|
||||
},
|
||||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
'triggers': {
|
||||
'action:powerdns_reload_zones',
|
||||
},
|
||||
|
@ -130,6 +134,9 @@ if node.metadata['powerdns'].get('features', {}).get('bind', False):
|
|||
'needs': {
|
||||
'pkg_apt:pdns-backend-bind',
|
||||
},
|
||||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
'triggers': {
|
||||
'action:powerdns_reload_zones',
|
||||
},
|
||||
|
@ -144,6 +151,9 @@ if node.metadata['powerdns'].get('features', {}).get('pgsql', False):
|
|||
'needs': {
|
||||
'pkg_apt:pdns-backend-pgsql',
|
||||
},
|
||||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
'triggers': {
|
||||
'action:powerdns_reload_zones',
|
||||
},
|
||||
|
@ -161,4 +171,7 @@ if node.metadata['powerdns'].get('features', {}).get('pgsql', False):
|
|||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
'needed_by': {
|
||||
'svc_systemd:pdns',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue