Merge "Drop configure_keystone_authtoken_middleware function"
This commit is contained in:
commit
4c479ebb50
@ -164,7 +164,7 @@ function configure_barbican {
|
||||
iniset $BARBICAN_PASTE_CONF 'pipeline:barbican_api' pipeline 'barbican-api-keystone'
|
||||
|
||||
# Set the keystone parameters
|
||||
configure_auth_token_middleware $BARBICAN_CONF barbican $BARBICAN_AUTH_CACHE_DIR
|
||||
configure_keystone_authtoken_middleware $BARBICAN_CONF barbican
|
||||
|
||||
# Enable the keystone listener
|
||||
iniset $BARBICAN_CONF keystone_notifications enable True
|
||||
@ -173,11 +173,6 @@ function configure_barbican {
|
||||
|
||||
# init_barbican - Initialize etc.
|
||||
function init_barbican {
|
||||
# Create cache dir
|
||||
sudo mkdir -p $BARBICAN_AUTH_CACHE_DIR
|
||||
sudo chown $STACK_USER $BARBICAN_AUTH_CACHE_DIR
|
||||
rm -f $BARBICAN_AUTH_CACHE_DIR/*
|
||||
|
||||
recreate_database barbican utf8
|
||||
|
||||
$BARBICAN_BIN_DIR/barbican-manage db upgrade -v head
|
||||
|
@ -9,7 +9,6 @@ BARBICAN_CONF_DIR=${BARBICAN_CONF_DIR:-/etc/barbican}
|
||||
BARBICAN_CONF=$BARBICAN_CONF_DIR/barbican.conf
|
||||
BARBICAN_PASTE_CONF=$BARBICAN_CONF_DIR/barbican-api-paste.ini
|
||||
BARBICAN_API_LOG_DIR=$DEST/logs
|
||||
BARBICAN_AUTH_CACHE_DIR=${BARBICAN_AUTH_CACHE_DIR:-/var/cache/barbican}
|
||||
|
||||
PYKMIP_CONF_DIR=${PYKMIP_CONF_DIR:-/etc/pykmip}
|
||||
PYKMIP_CONF=${PYKMIP_CONF_DIR}/server.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user