Merge "Modify the function configure_freezer_scheduler"

This commit is contained in:
Jenkins 2016-04-06 09:42:57 +00:00 committed by Gerrit Code Review
commit 335dfd8f73
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ function configure_freezer_scheduler {
[ ! -d $FREEZER_CONF_DIR ] && sudo mkdir -m 755 -p $FREEZER_CONF_DIR
sudo chown $USER $FREEZER_CONF_DIR
sudo cp -p $FREEZER_DIR/etc/scheduler.conf.sample $FREEZER_CONF_FILE
[ ! -d $FREEZER_LOG_DIR ] && sudo mkdir -m 755 -p $FREEZER_LOG_DIR
sudo chown $USER $FREEZER_LOG_DIR

View File

@ -17,8 +17,8 @@
# Set up default directories
FREEZER_DIR=$DEST/freezer
FREEZER_FILES=${FREEZER_API_DIR}/devstack/files
FREEZER_CONF_DIR=${FREEZER_CONF_DIR:-/etc}
FREEZER_CONF_DIR=${FREEZER_CONF_DIR:-/etc/freezer}
FREEZER_CONF_FILE=$FREEZER_CONF_DIR/scheduler.conf
FREEZER_LOG_DIR=$DEST/logs
# Freezer API repository