Remove undef defaults from nova_config params

evaluating undef can only lead to confusing error
messages. They should either be required params
or have sane defaults.
This commit is contained in:
Dan Bode 2011-06-17 23:36:51 -07:00
parent 3a34c172f4
commit 5e90be9a19
1 changed files with 4 additions and 4 deletions

View File

@ -5,16 +5,16 @@ class nova(
$image_service = 'nova.image.local.LocalImageService',
# these glance params should be optional
# this should probably just be configured as a glance client
$glance_host = undef,
$glance_port = undef,
$allow_admin_api = undef,
$glance_host = 'localhost',
$glance_port = '9292',
$allow_admin_api = false,
$rabbit_host = 'localhost',
$rabbit_password='guest',
$rabbit_port='5672',
$rabbit_userid='guest',
$rabbit_virtual_host='/',
# Following may need to be broken out to different nova services
$service_down_time = undef,
$service_down_time = 60,
$logdir = '/var/log/nova',
$state_path = '/var/lib/nova',
$lock_path = '/var/lock/nova',