Setup external_dns_driver with designate
When the designate configuration is setup, we also need to configure the external_dns_driver option. Change-Id: Iec946147b07acba58f11ffa19215b3d5c25ae3b4
This commit is contained in:
parent
8d65a81163
commit
dba2ff1366
@ -82,6 +82,7 @@ class neutron::designate (
|
||||
include ::neutron::params
|
||||
|
||||
neutron_config {
|
||||
'DEFAULT/external_dns_driver': value => 'designate';
|
||||
'designate/password': value => $password;
|
||||
'designate/url': value => $url;
|
||||
'designate/auth_type': value => $auth_type;
|
||||
|
@ -14,6 +14,7 @@ describe 'neutron::designate' do
|
||||
end
|
||||
|
||||
it 'configures designate in neutron.conf' do
|
||||
is_expected.to contain_neutron_config('DEFAULT/external_dns_driver').with_value('designate')
|
||||
is_expected.to contain_neutron_config('designate/url').with_value('http://ip/designate')
|
||||
is_expected.to contain_neutron_config('designate/password').with_value('secret')
|
||||
is_expected.to contain_neutron_config('designate/username').with_value('neutron')
|
||||
@ -42,6 +43,7 @@ describe 'neutron::designate' do
|
||||
end
|
||||
|
||||
it 'configures designate in neutron.conf' do
|
||||
is_expected.to contain_neutron_config('DEFAULT/external_dns_driver').with_value('designate')
|
||||
is_expected.to contain_neutron_config('designate/url').with_value('http://ip/designate')
|
||||
is_expected.to contain_neutron_config('designate/password').with_value('secret')
|
||||
is_expected.to contain_neutron_config('designate/username').with_value('user')
|
||||
|
Loading…
Reference in New Issue
Block a user