setup.sh: replace auth uri
Change-Id: Ic8d31d236b887be085c7be88d05c0ca5ca7584cb
This commit is contained in:
parent
2248d36c44
commit
37918a4de2
@ -10,7 +10,7 @@ surveil:
|
||||
environment:
|
||||
PBR_VERSION: "PROD"
|
||||
#SURVEIL_AUTH_BACKEND: "keystone"
|
||||
#SURVEIL_KEYSTONE_ENDPOINT: "198.72.123.131"
|
||||
#SURVEIL_KEYSTONE_ENDPOINT: "http://198.72.123.131:5000/v2.0/"
|
||||
|
||||
shinken:
|
||||
#build: tools/docker/shinken_container/
|
||||
|
@ -20,7 +20,7 @@ paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
||||
|
||||
# Host providing the admin Identity API endpoint (string
|
||||
# value)
|
||||
auth_host=198.72.123.131
|
||||
#auth_host=198.72.123.131
|
||||
|
||||
# Port of the admin Identity API endpoint (integer value)
|
||||
#auth_port=5000
|
||||
|
@ -7,7 +7,7 @@ function setup_surveil_api {
|
||||
else
|
||||
echo -e "=> Setting up Surveil API for keystone authentication..."
|
||||
sed -i "s/pipeline =.*/pipeline = authtoken api-server/" /etc/surveil/api_paste.ini
|
||||
sed -i "s/auth_host=.*/auth_host=${SURVEIL_KEYSTONE_ENDPOINT}/" /etc/surveil/api_paste.ini
|
||||
sed -i "s/auth_host=.*/auth_uri=${SURVEIL_KEYSTONE_ENDPOINT}/" /etc/surveil/api_paste.ini
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user