network/providers: create public network only from neutron-server
The puppet provider which creates the networks should be declared from the neutron-server node. The catalog would fail on other nodes, that's why it's better to ensure that the catalog contains neutron::server class if we want to manage the external public network. Closes-bug #564
This commit is contained in:
@@ -136,13 +136,8 @@ describe 'cloud::network::metadata' do
|
||||
:bridge => 'br-pub'
|
||||
)
|
||||
end
|
||||
it 'configure provider external network' do
|
||||
should contain_neutron_network('public').with(
|
||||
:provider_network_type => 'flat',
|
||||
:provider_physical_network => 'public',
|
||||
:shared => true,
|
||||
:router_external => true
|
||||
)
|
||||
it 'should not configure provider external network' do
|
||||
should_not contain__neutron_network('public')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user