Include the keystone client in the common recipe
The client is needed in the call to openstack-common's cli library, identity_uuid, in the ruby_block. Change-Id: I0d5dbb18eb57ea848baf91bfce0eaa23a3c860fa Closes-Bug: #1330484
This commit is contained in:
parent
ae8fd25552
commit
c129d7d41a
|
@ -22,6 +22,9 @@
|
|||
|
||||
['quantum', 'neutron'].include?(node['openstack']['compute']['network']['service_type']) || return
|
||||
|
||||
# this is needed for querying the tenant_uuid of admin below
|
||||
include_recipe 'openstack-identity::client'
|
||||
|
||||
require 'uri'
|
||||
|
||||
# Make Openstack object available in Chef::Recipe
|
||||
|
|
|
@ -13,6 +13,10 @@ describe 'openstack-network::common' do
|
|||
|
||||
include_context 'neutron-stubs'
|
||||
|
||||
it 'includes openstack-identity::client' do
|
||||
expect(chef_run).to include_recipe('openstack-identity::client')
|
||||
end
|
||||
|
||||
describe 'ml2_conf.ini' do
|
||||
let(:file) { chef_run.template('/etc/neutron/plugins/ml2/ml2_conf.ini') }
|
||||
|
||||
|
|
Loading…
Reference in New Issue