diff options
author | zhurong <aaronzhu1121@gmail.com> | 2019-04-12 14:34:34 +0800 |
---|---|---|
committer | zhurong <aaronzhu1121@gmail.com> | 2019-04-15 08:57:44 +0800 |
commit | de81f77988bd1da862158b804ffb434f14210ab6 (patch) | |
tree | e381bb19b00fdb20c7164e22c231ea3594e0e034 /devstack | |
parent | f1ac9663e0f7d6f93f37e75828acb8a07cf7ea42 (diff) | |
download | ceilometer-de81f77988bd1da862158b804ffb434f14210ab6.tar.gz |
Remove the unused function _ceilometer_config_apache_wsgi
Since ceilometer api has removed, _ceilometer_config_apache_wsgi
is the unsed function.
Change-Id: I51cf3339c581a0de72181026960ad2c8587eb2b7
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/plugin.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d2b03548..de7999ba 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -84,27 +84,6 @@ function _ceilometer_install_redis { pip_install_gr redis } -# Configure mod_wsgi -function _ceilometer_config_apache_wsgi { - sudo mkdir -p $CEILOMETER_WSGI_DIR - - local ceilometer_apache_conf=$(apache_site_config_for ceilometer) - local venv_path="" - - if [[ ${USE_VENV} = True ]]; then - venv_path="python-path=${PROJECT_VENV["ceilometer"]}/lib/$(python_version)/site-packages" - fi - - sudo cp $CEILOMETER_DIR/devstack/apache-ceilometer.template $ceilometer_apache_conf - sudo sed -e " - s|%PORT%|$CEILOMETER_SERVICE_PORT|g; - s|%APACHE_NAME%|$APACHE_NAME|g; - s|%WSGIAPP%|$CEILOMETER_WSGI_DIR/app|g; - s|%USER%|$STACK_USER|g; - s|%VIRTUALENV%|$venv_path|g - " -i $ceilometer_apache_conf -} - # Install required services for coordination function _ceilometer_prepare_coordination { if echo $CEILOMETER_COORDINATION_URL | grep -q '^memcached:'; then |