Cleanup deprecated token backend value

Change-Id: I47609be2e70fb83469546567ed48ab26bbdcce5d
Closes-Bug: #1386248
This commit is contained in:
Mark Vanderwiel
2014-10-27 10:15:16 -05:00
parent 4557342523
commit fd36e4de0d
3 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ This file is used to list changes made in each version of cookbook-openstack-ide
* Update endpoint when endpoint for one service type exists
* Add attributes for pipeline of API
* Add create user idempotent password check
* Cleanup deprecated sql token attribute
## 10.0.0
* Upgrading to Juno

View File

@@ -732,7 +732,7 @@ describe 'openstack-identity::server' do
describe '[token] section' do
it 'configures driver' do
r = line_regexp('driver = keystone.token.backends.sql.Token')
r = line_regexp('driver = keystone.token.persistence.backends.sql.Token')
expect(chef_run).to render_file(path).with_content(r)
end

View File

@@ -1658,7 +1658,7 @@ provider = keystone.token.providers.<%= node["openstack"]["auth"]["strategy"] %>
# Token persistence backend driver. (string value)
#driver=keystone.token.persistence.backends.sql.Token
driver = keystone.token.backends.<%= node["openstack"]["identity"]["token"]["backend"] %>.Token
driver = keystone.token.persistence.backends.<%= node["openstack"]["identity"]["token"]["backend"] %>.Token
# Toggle for token system cacheing. This has no effect unless
# global caching is enabled. (boolean value)