Skip to content

Commit

Permalink
fix minor compute issues
Browse files Browse the repository at this point in the history
This commit resolves a few minor issues uncovered
when fixing the spec tests.
  • Loading branch information
Dan Bode committed Oct 29, 2012
1 parent c8a15df commit 8da819b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions manifests/compute.pp
Expand Up @@ -103,7 +103,12 @@

# if the compute node should be configured as a multi-host
# compute installation
if $quantum == false {
if ! $quantum {

if ! $fixed_range {
fail("Must specify the fixed range when using nova-networks")
}

if $multi_host {
include keystone::python
nova_config {
Expand Down Expand Up @@ -157,7 +162,10 @@
volume_group => $nova_volume,
}

nova_config { 'volume_api_class': value => 'nova.volume.cinder.API' }
# set in nova::api
if ! defined(Nova_config['volume_api_class']) {
nova_config { 'volume_api_class': value => 'nova.volume.cinder.API' }
}
} else {
# Set up nova-volume
}
Expand Down

0 comments on commit 8da819b

Please sign in to comment.