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:
Stephan Renatus 2014-06-16 15:31:02 +02:00
parent ae8fd25552
commit c129d7d41a
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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') }