Use correct class path for token persistence backend

Keystone has moved over to using a new location for the token
persistence backends (drivers). The old values will continue to
work, but this will limit the deprecation warnings for an out
of the box devstack install.

Change-Id: I7c437788c8aee0106fa7f3c37617fbd1220291ef
bp: non-persistent-tokens
This commit is contained in:
Morgan Fainberg 2014-08-29 13:26:31 -07:00
parent 434982c96d
commit 947d7468c8

View File

@ -229,11 +229,11 @@ function configure_keystone {
iniset $KEYSTONE_CONF ec2 driver "keystone.contrib.ec2.backends.sql.Ec2" iniset $KEYSTONE_CONF ec2 driver "keystone.contrib.ec2.backends.sql.Ec2"
if [[ "$KEYSTONE_TOKEN_BACKEND" = "sql" ]]; then if [[ "$KEYSTONE_TOKEN_BACKEND" = "sql" ]]; then
iniset $KEYSTONE_CONF token driver keystone.token.backends.sql.Token iniset $KEYSTONE_CONF token driver keystone.token.persistence.backends.sql.Token
elif [[ "$KEYSTONE_TOKEN_BACKEND" = "memcache" ]]; then elif [[ "$KEYSTONE_TOKEN_BACKEND" = "memcache" ]]; then
iniset $KEYSTONE_CONF token driver keystone.token.backends.memcache.Token iniset $KEYSTONE_CONF token driver keystone.token.persistence.backends.memcache.Token
else else
iniset $KEYSTONE_CONF token driver keystone.token.backends.kvs.Token iniset $KEYSTONE_CONF token driver keystone.token.persistence.backends.kvs.Token
fi fi
if [[ "$KEYSTONE_CATALOG_BACKEND" = "sql" ]]; then if [[ "$KEYSTONE_CATALOG_BACKEND" = "sql" ]]; then