Switch to backend_host option

Host option has been deprecated, we need to use
backend_host instead.

Change-Id: If4939cc8606c8dd11fda98024b70aec5bb30ba94
Depends-On: I580a57a71c982b079709d0465cbad1bb6d01dfa4
Partial-Bug: #1477967
This commit is contained in:
Mykyta Karpin 2017-01-16 17:57:35 +02:00
parent 72f76c4919
commit 8ce535cd62
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ class openstack_tasks::roles::cinder {
database_max_retries => $max_retries,
database_max_overflow => $max_overflow,
control_exchange => 'cinder',
host => hiera('fqdn'),
backend_host => hiera('fqdn'),
kombu_compression => $kombu_compression,
}

View File

@ -150,7 +150,7 @@ describe manifest do
it 'should check stuff that openstack cinder did' do
is_expected.to contain_class('cinder')
is_expected.to contain_cinder_config('DEFAULT/host').with(:value => hostname)
is_expected.to contain_cinder_config('DEFAULT/backend_host').with(:value => hostname)
if manage_volumes
is_expected.to contain_class('cinder::volume')
is_expected.to contain_class('cinder::backends')