Merge "Capture puppet.conf"

This commit is contained in:
Zuul 2023-03-22 12:15:02 +00:00 committed by Gerrit Code Review
commit e7ed381885

View File

@ -80,6 +80,13 @@ done
# Extra bits and pieces follow
#
# puppet.conf file
if [ -f /etc/puppet/puppet.conf ]; then
sudo cp /etc/puppet/puppet.conf $LOG_DIR/
elif [ -f /etc/puppetlabs/puppet/puppet.conf ]; then
sudo cp /etc/puppetlabs/puppet/puppet.conf $LOG_DIR/
fi
# system logs
if uses_debs; then
sudo cp /var/log/kern.log $LOG_DIR/kern_log.txt