Fix enabled_drivers option

Upstream commit https://review.openstack.org/#/c/446925 removes
enabled_drivers option from ::ironic class, now we need to use
it from ::ironic::conductor class.

Change-Id: I1e49d6777de73a9c0267a7c982cb19253bb40e64
Closes-Bug: #1675684
This commit is contained in:
Mykyta Karpin 2017-03-24 11:10:03 +02:00
parent 6f542cc866
commit b5a316b5d6
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,6 @@ class openstack_tasks::roles::ironic_conductor {
class { '::ironic':
debug => $debug,
enabled_drivers => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
default_transport_url => $transport_url,
amqp_durable_queues => $amqp_durable_queues,
control_exchange => 'ironic',
@ -109,6 +108,7 @@ class openstack_tasks::roles::ironic_conductor {
class { '::ironic::conductor':
api_url => "http://${baremetal_vip}:6385",
enabled_drivers => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
swift_temp_url_key => $ironic_swift_tempurl_key,
}

View File

@ -28,7 +28,6 @@ describe manifest do
it 'should declare ironic class correctly' do
should contain_class('ironic').with(
'default_transport_url' => transport_url,
'enabled_drivers' => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
'control_exchange' => 'ironic',
'amqp_durable_queues' => amqp_durable_queues,
'database_max_retries' => '-1',
@ -39,7 +38,8 @@ describe manifest do
it 'should declare ironic::conductor class correctly' do
should contain_class('ironic::conductor').with(
'api_url' => "http://#{baremetal_vip}:6385",
'api_url' => "http://#{baremetal_vip}:6385",
'enabled_drivers' => ['fuel_ssh', 'fuel_ipmitool', 'fake', 'fuel_libvirt'],
)
end