bundles/powerdns: use named-checkzone to verify zone integrity

This commit is contained in:
Franzi 2021-09-22 16:42:26 +02:00
parent 0edb7137f4
commit 05d69c1f12
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -106,9 +106,7 @@ if node.metadata.get('powerdns/features/bind', False):
'metadata_records': node.metadata.get(f'powerdns/bind-zones/{zone}/records', []),
},
'source': f'bind-zones/{zone}',
# TODO enable this once bundlewrap has test_with
# was introduced in https://github.com/bundlewrap/bundlewrap/commit/cb7e9c161719acd70d132a7b24f0d231a8cb3fa3
#'test_with': f'named-checkzone {zone} {{}}',
'test_with': f'named-checkzone {zone} {{}}',
'triggers': {
'action:powerdns_reload_zones',
},