
When tls-proxy is enabled, few functions in lib/tls relies on lib/apache functions (restart_apache_server, stop_apache_server, enable_apache_site, enable_apache_mod). It is thus necessary to source lib/apache whenever lib/tls is used. Change-Id: Ia9ffdc490d0cba04a084d572312e177b19791585
26 lines
628 B
Bash
Executable File
26 lines
628 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
#
|
|
|
|
set -o errexit
|
|
|
|
source $GRENADE_DIR/grenaderc
|
|
source $GRENADE_DIR/functions
|
|
|
|
# We need base DevStack functions for this
|
|
source $BASE_DEVSTACK_DIR/functions
|
|
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
|
source $BASE_DEVSTACK_DIR/lib/apache
|
|
source $BASE_DEVSTACK_DIR/lib/tls
|
|
# TODO(sdague): remove this conditional once we've branched
|
|
# grenade. Right now we need to support stable/mitaka, stable/newton,
|
|
# and master devstack
|
|
if [[ -e $BASE_DEVSTACK_DIR/lib/neutron ]]; then
|
|
source $BASE_DEVSTACK_DIR/lib/neutron
|
|
fi
|
|
source $BASE_DEVSTACK_DIR/lib/neutron-legacy
|
|
|
|
set -o xtrace
|
|
|
|
stop_neutron
|