diff --git a/copy_logs.sh b/copy_logs.sh index 969f93bb2..b0840c057 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