Merge "In the devstack plugin, restart keystone after modifying conf"
This commit is contained in:
commit
c3b5d2d77b
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user