copy_puppet_logs: if possible, copy tempest config

For instance, /tmp/openstack/tempest is the directory where we run tempest.
We want to have access to tempest config after job runs, so let's copy
the file.

Change-Id: I3a38c9ca41706970d4033765833379632eced875
This commit is contained in:
Emilien Macchi 2015-08-26 15:48:05 -04:00
parent a36840931f
commit e9d431ddfb

@ -118,6 +118,10 @@ if [ -d ${apache_logs} ]; then
sudo cp -r ${apache_logs} $LOG_DIR/apache
fi
if [ -d /tmp/openstack/tempest ]; then
sudo cp /tmp/openstack/tempest/etc/tempest.conf $LOG_DIR/
fi
# package status
if [ `command -v dpkg` ]; then
dpkg -l> $LOG_DIR/dpkg-l.txt