Only configure network config when manager is set
- dont set flat_network bridge unless that is set as the network manager.
This commit is contained in:
parent
cc79a16517
commit
11d8c6a038
|
@ -103,7 +103,6 @@ class nova(
|
|||
# config b/c they have to be set by both compute
|
||||
# as well as controller.
|
||||
'network_manager': value => $network_manager;
|
||||
'flat_network_bridge': value => $flat_network_bridge;
|
||||
}
|
||||
|
||||
exec { 'post-nova_config':
|
||||
|
@ -111,6 +110,12 @@ class nova(
|
|||
refreshonly => true,
|
||||
}
|
||||
|
||||
if $network_manager == 'nova.network.manager.FlatManager' {
|
||||
nova_config {
|
||||
'flat_network_bridge': value => $flat_network_bridge
|
||||
}
|
||||
}
|
||||
|
||||
if $image_service == 'nova.image.glance.GlanceImageService' {
|
||||
nova_config {
|
||||
'glance_api_servers': value => $glance_api_servers;
|
||||
|
|
Loading…
Reference in New Issue