Merge "In the devstack plugin, restart keystone after modifying conf"

This commit is contained in:
Jenkins 2017-07-26 23:55:10 +00:00 committed by Gerrit Code Review
commit c3b5d2d77b
1 changed files with 6 additions and 0 deletions

View File

@ -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
}