Fixing grenade job

api-paste.ini should be copied to config directory

Change-Id: Ie9da737870168516027f27f6513c9220ab521781
Closes-bug: #1507646
This commit is contained in:
Andrey Pavlov 2015-10-19 16:22:23 +03:00
parent a4a3495418
commit 9fff9613d0

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# ``upgrade-sahara``
function configure_sahara_upgrade {
XTRACE=$(set +o | grep xtrace)
set -o xtrace
# Copy api-paste.ini to configuration directory
cp -p $SAHARA_DIR/etc/sahara/api-paste.ini $SAHARA_CONF_DIR
# reset to previous state
$XTRACE
}