Merge "Use devstack helper for installation"
This commit is contained in:
commit
c19cb61f46
|
@ -239,13 +239,7 @@ function init_aodh {
|
||||||
function install_aodh {
|
function install_aodh {
|
||||||
_aodh_prepare_coordination
|
_aodh_prepare_coordination
|
||||||
install_aodhclient
|
install_aodhclient
|
||||||
if python3_enabled; then
|
pip_install -e "$AODH_DIR"[test,$AODH_BACKEND]
|
||||||
PY_VERS=${PYTHON3_VERSION}
|
|
||||||
else
|
|
||||||
PY_VERS=${PYTHON2_VERSION}
|
|
||||||
fi
|
|
||||||
sudo -H SETUPTOOLS_USE_DISTUTILS=stdlib python${PY_VERS} -m pip \
|
|
||||||
install -e "$AODH_DIR"[test,$AODH_BACKEND]
|
|
||||||
sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR
|
sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR
|
||||||
|
|
||||||
if [ "$AODH_DEPLOY" == "mod_wsgi" ]; then
|
if [ "$AODH_DEPLOY" == "mod_wsgi" ]; then
|
||||||
|
|
Loading…
Reference in New Issue