Update class parameters

This commit is contained in:
Adam Gandelman 2011-06-20 12:02:56 -07:00
parent 8289ca9ca1
commit 92634b4156
3 changed files with 13 additions and 6 deletions

View File

@ -41,6 +41,8 @@ class nova::ubuntu::cc (
verbose => $verbose,
sql_connection => "mysql://${db_user}:${db_password}@${db_host}/${db_name}",
image_service => $image_service,
glance_host => $glance_host,
glance_port => $glance_port,
}
class { "nova::api": enabled => true }

View File

@ -21,13 +21,18 @@ class { 'nova::ubuntu::cc':
db_password => 'password',
db_allowed_hosts => ['somehost', '10.0.0.2', '10.0.0.3'],
db_allowed_hosts => ['somehost', '10.0.0.2', '10.0.0.3', '10.0.0.5'],
admin_user => 'admin',
project_name => 'novaproject',
}
class { "glance::api": }
class { "glance::api":
verbose => 'true',
api_debug => 'true',
}
class { "glance::registry":
verbose => 'true',
debug => 'true',
sql_connection => "mysql://nova:password@localhost/nova",
}

View File

@ -5,14 +5,14 @@ resources { 'nova_config':
}
class { 'nova::ubuntu::compute':
api_server => '10.0.0.2',
rabbit_host => '10.0.0.2',
db_host => '10.0.0.2',
api_server => '10.0.0.4',
rabbit_host => '10.0.0.4',
db_host => '10.0.0.4',
db_user => 'nova',
db_password => 'password',
image_service => 'nova.image.glance.GlanceImageService',
glance_host => '10.0.0.2',
glance_host => '10.0.0.4',
flat_network_bridge => 'br100',