From 5096c12fe775162832919e7d757fe256a41cce0d Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 18 Mar 2023 16:32:30 +0900 Subject: [PATCH] Capture puppet.conf ... so that we can review the global config file. Change-Id: I524ed1cdd1b5d085ab4cf7163955c64c66fc77a7 --- copy_logs.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/copy_logs.sh b/copy_logs.sh index 847ce6336..626f94f54 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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