Merge pull request #43 from sorenh/master

Fix a few issues I stumbled upon
This commit is contained in:
Dan Bode
2012-05-10 07:09:44 -07:00
2 changed files with 2 additions and 6 deletions

View File

@@ -17,7 +17,6 @@ class openstack::compute(
$fixed_range = '10.0.0.0/16',
$network_manager = 'nova.network.manager.FlatDHCPManager',
$multi_host = false,
$network_host = false,
$network_config = {},
# my address
# conection information
@@ -39,6 +38,7 @@ class openstack::compute(
rabbit_userid => $rabbit_user,
rabbit_password => $rabbit_password,
image_service => 'nova.image.glance.GlanceImageService',
rabbit_host => $rabbit_host,
glance_api_servers => $glance_api_servers,
verbose => $verbose,
}
@@ -74,12 +74,8 @@ class openstack::compute(
}
} else {
$enable_network_service = false
if ! $network_host {
fail('network_host must be defined for non multi host compute nodes')
}
nova_config {
'multi_host': value => 'False';
'network_host': value => $network_host;
}
}

View File

@@ -39,7 +39,7 @@ class openstack::controller(
$network_config = {},
# I do not think that this needs a bridge?
$verbose = false,
$export_resource = false
$export_resources = true
) {
$glance_api_servers = "${internal_address}:9292"