Add logfle.conf to "restore conf" logic

There is code to remove collectd-ceilometer-plugin.conf when unstacking,
however, the same logic wasn't added when logfile.conf was introduced.

This change adds that logic so that logfile.conf is removed along with
collectd-ceilometer-plugin.conf

Change-Id: Ib100db5603fc22a640fe18002d754ba8b8538041
This commit is contained in:
Emma Foley 2016-10-13 19:28:22 +01:00
parent 6356c05194
commit 33158cfff2

View File

@ -93,6 +93,7 @@ function restore_collectd_conf {
if [ -f '$COLLECTD_CONF_DIR/collectd-ceilometer-plugin.conf' ]; then
sudo rm -f $COLLECTD_CONF_DIR/collectd-ceilometer-plugin.conf
sudo rm -f $COLLECTD_CONF_DIR/logfile.conf
fi
}