summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-26 23:55:10 +0000
committerGerrit Code Review <review@openstack.org>2017-07-26 23:55:10 +0000
commitc3b5d2d77b029880521912e43ad963f9b0c5bf99 (patch)
tree480aa54decc76565c5abb7929552f85254fff000 /devstack
parent7569c0a6bf1f847a7fe5d96a2f39ea024712b5a1 (diff)
parente5666f92d5dbff86fc3267b950ddc6812439a3f3 (diff)
downloadkeystone-c3b5d2d77b029880521912e43ad963f9b0c5bf99.tar.gz
Merge "In the devstack plugin, restart keystone after modifying conf"12.0.0.0b3
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/federation.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/devstack/lib/federation.sh b/devstack/lib/federation.sh
index 62f8e0264..de47e1f9f 100644
--- a/devstack/lib/federation.sh
+++ b/devstack/lib/federation.sh
@@ -54,6 +54,8 @@ function configure_apache {
cat $KEYSTONE_PLUGIN/files/federation/shib_apache_handler.txt | sudo tee -a $keystone_apache_conf
sudo sed -i -e "s|%IDP_ID%|$IDP_ID|g;" $keystone_apache_conf
+
+ restart_apache_server
}
function install_federation {
@@ -107,6 +109,10 @@ function configure_federation {
# Specify the header that contains information about the identity provider
iniset $KEYSTONE_CONF mapped remote_id_attribute "Shib-Identity-Provider"
+ if [[ "$WSGI_MODE" == "uwsgi" ]]; then
+ restart_service "devstack@keystone"
+ fi
+
# Register the service provider
upload_sp_metadata
}