Add basic rpc connection properties

It was not possible to set the RPC connection properties in keystone.
This patch adds attributes for them.

Change-Id: I9f653f924f8f7dcd00d6dd97b655b2b14c9a2620
Closes-Bug: #1310747
This commit is contained in:
Luis A. Garcia
2014-04-21 14:16:33 -07:00
parent f122dbe803
commit faf956ba2c
4 changed files with 34 additions and 0 deletions

View File

@@ -176,6 +176,16 @@ describe 'openstack-identity::server' do
expect(resource).to notify('service[keystone]').to(:restart)
end
it 'has rpc_backend set for rabbit' do
node.set['openstack']['mq']['service_type'] = 'rabbitmq'
expect(chef_run).to render_file(path).with_content('rpc_backend=rabbit')
end
it 'has rpc_backend set for qpid' do
node.set['openstack']['mq']['service_type'] = 'qpid'
expect(chef_run).to render_file(path).with_content('rpc_backend=qpid')
end
describe '[DEFAULT] section' do
it 'has admin token' do
r = line_regexp('admin_token = bootstrap-token')