Capture redis.conf

... so that we can check behavior of puppet-redis.

Change-Id: I808c9e927d8f52f596292d3525d00d7429bb87e2
This commit is contained in:
Takashi Kajinami 2022-02-05 22:34:34 +09:00
parent 37971f6925
commit 7fa5072e28

View File

@ -189,6 +189,12 @@ if [ -f ${redis_logs} ]; then
sudo cp ${redis_logs} $LOG_DIR/redis.log.txt
fi
if [ -d /etc/redis ]; then
sudo cp -r /etc/redis $LOG_DIR/etc/redis
elif [ -f /etc/redis.conf ]; then
sudo cp /etc/redis.conf $LOG_DIR/etc/
fi
if [ -f /var/log/qdrouterd/qdrouterd.log ]; then
sudo cp /var/log/qdrouterd/qdrouterd.log $LOG_DIR/qdrouterd.log.txt
if [ -f /etc/qpid-dispatch/qdrouterd.conf ]; then