Merge "Add missing neutron_lbaas_agent_config resource"
This commit is contained in:
commit
5ad805f154
@ -127,6 +127,7 @@ class neutron::config (
|
||||
create_resources('neutron_api_config', $api_config)
|
||||
create_resources('neutron_l3_agent_config', $l3_agent_config)
|
||||
create_resources('neutron_dhcp_agent_config', $dhcp_agent_config)
|
||||
create_resources('neutron_lbaas_agent_config', $lbaas_agent_config)
|
||||
create_resources('neutron_metadata_agent_config', $metadata_agent_config)
|
||||
create_resources('neutron_metering_agent_config', $metering_agent_config)
|
||||
create_resources('neutron_vpnaas_agent_config', $vpnaas_agent_config)
|
||||
|
@ -37,6 +37,7 @@ describe 'neutron::config' do
|
||||
let :params do
|
||||
{ :l3_agent_config => config_hash,
|
||||
:dhcp_agent_config => config_hash,
|
||||
:lbaas_agent_config => config_hash,
|
||||
:metadata_agent_config => config_hash,
|
||||
:metering_agent_config => config_hash,
|
||||
:vpnaas_agent_config => config_hash,
|
||||
@ -55,6 +56,12 @@ describe 'neutron::config' do
|
||||
is_expected.to contain_neutron_dhcp_agent_config('DEFAULT/baz').with_ensure('absent')
|
||||
end
|
||||
|
||||
it 'configures arbitrary lbaas_agent_config configurations' do
|
||||
is_expected.to contain_neutron_lbaas_agent_config('DEFAULT/foo').with_value('fooValue')
|
||||
is_expected.to contain_neutron_lbaas_agent_config('DEFAULT/bar').with_value('barValue')
|
||||
is_expected.to contain_neutron_lbaas_agent_config('DEFAULT/baz').with_ensure('absent')
|
||||
end
|
||||
|
||||
it 'configures arbitrary metadata_agent_config configurations' do
|
||||
is_expected.to contain_neutron_metadata_agent_config('DEFAULT/foo').with_value('fooValue')
|
||||
is_expected.to contain_neutron_metadata_agent_config('DEFAULT/bar').with_value('barValue')
|
||||
|
Loading…
Reference in New Issue
Block a user