zuul-jobs/roles/validate-zone-db
Clark Boylan 5f3c90057c Fix check zone role for Jammy
Ubuntu Jammy installs the named-checkzone tool to
/usr/bin/named-checkzone, but old ubuntu installed to
/usr/sbin/named-checkzone. Rather than try and keep track of the
different locations we update the task to run under the shell module so
that we can rely on $PATH to do the heavy lifting for us.

To help ensure this doesn't break the old path and to catch problems
earlier I have also added testing across the debuntu set of platforms.
The role doesn't currently support other platforms as it relies on the
bind9utils package.

Change-Id: I1650b605cb6f25fa7585524b427d65d2fc291338
2022-11-02 14:26:07 -07:00
..
defaults linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
files/test_zones/testing.test Fix check zone role for Jammy 2022-11-02 14:26:07 -07:00
tasks Fix check zone role for Jammy 2022-11-02 14:26:07 -07:00
README.rst validate-zone-db : add job and make more generic 2019-05-24 10:00:49 +10:00

Validate bind zone.db files

This role uses named-checkzone to validate Bind zone.db files.

Role Variables