Capture config files of bind

We deploy bind as a backend for Designate so let's capture its config
files so that we can review files generated by puppet-dns.

Change-Id: I7ed857aff5fac295140031e8cdfecd8e35281767
This commit is contained in:
Takashi Kajinami 2023-11-17 02:33:11 +09:00
parent 8578f6b20e
commit 4e29b9a185

View File

@ -151,6 +151,13 @@ if uses_debs; then
fi
fi
# bind
if [ -d /etc/named ]; then
sudo cp -r /etc/named $LOG_DIR/etc
elif [ -d /etc/bind ]; then
sudo cp -r /etc/bind $LOG_DIR/etc
fi
# tempest logs
if [ -f /tmp/openstack/tempest/tempest.log ] ; then
sudo cp /tmp/openstack/tempest/tempest.log $LOG_DIR/