Always configure network
This network class is used to configure both nodes hosting the network service as well as compute nodes that are utilizing an external network service. This commit ensures that this class is always created.
This commit is contained in:
@@ -119,20 +119,16 @@ class openstack::nova::compute (
|
||||
}
|
||||
}
|
||||
|
||||
# set up configuration for networking
|
||||
# NOTE should the if block be removed? -jtopjian
|
||||
if $enable_network_service {
|
||||
class { 'nova::network':
|
||||
private_interface => $private_interface,
|
||||
public_interface => $public_interface,
|
||||
fixed_range => $fixed_range,
|
||||
floating_range => false,
|
||||
network_manager => $network_manager,
|
||||
config_overrides => $network_config,
|
||||
create_networks => false,
|
||||
enabled => $enable_network_service,
|
||||
install_service => $enable_network_service,
|
||||
}
|
||||
class { 'nova::network':
|
||||
private_interface => $private_interface,
|
||||
public_interface => $public_interface,
|
||||
fixed_range => $fixed_range,
|
||||
floating_range => false,
|
||||
network_manager => $network_manager,
|
||||
config_overrides => $network_config,
|
||||
create_networks => false,
|
||||
enabled => $enable_network_service,
|
||||
install_service => $enable_network_service,
|
||||
}
|
||||
|
||||
if $manage_volumes {
|
||||
|
Reference in New Issue
Block a user