Install ironicclient if using the Ironic Driver
Also add a dependency on puppet-ironic. Change-Id: I9afd336a1c555da9453281c9c8f5eedb83ffb324
This commit is contained in:
parent
3fa34ce52b
commit
b5e64b7337
@ -19,6 +19,7 @@ class nova::compute::ironic (
|
||||
|
||||
include ::nova::deps
|
||||
require ::nova::ironic::common
|
||||
include ::ironic::client
|
||||
|
||||
nova_config {
|
||||
'DEFAULT/compute_driver': value => $compute_driver;
|
||||
|
@ -25,6 +25,10 @@
|
||||
"name": "puppetlabs/inifile",
|
||||
"version_requirement": ">=1.0.0 <2.0.0"
|
||||
},
|
||||
{
|
||||
"name": "openstack/ironic",
|
||||
"version_requirement": ">=11.1.0 <12.0.0"
|
||||
},
|
||||
{
|
||||
"name": "openstack/keystone",
|
||||
"version_requirement": ">=11.2.0 <12.0.0"
|
||||
|
@ -8,6 +8,7 @@ describe 'nova::compute::ironic' do
|
||||
it 'configures ironic in nova.conf' do
|
||||
is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('ironic.IronicDriver')
|
||||
is_expected.to contain_nova_config('DEFAULT/max_concurrent_builds').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_class('ironic::client')
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user