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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user