26 lines
883 B
Puppet
26 lines
883 B
Puppet
#include nova::compute
|
|
class nova-compute-test {
|
|
$novaConfFlags = {
|
|
verbose => 'undef',
|
|
nodaemon => 'undef',
|
|
sql_connection => 'mysql://root:<password>@127.0.0.1/nova',
|
|
network_manager => 'nova.network.manager.FlatManager',
|
|
image_service => 'nova.image.glance.GlanceImageService',
|
|
flat_network_bridge => 'xenbr0',
|
|
connection_type => 'xenapi',
|
|
xenapi_connection_url => 'https://<XenServer IP>',
|
|
xenapi_connection_username => 'root',
|
|
xenapi_connection_password => 'password',
|
|
xenapi_inject_image => 'false',
|
|
rescue_timeout => '86400',
|
|
allow_admin_api => 'true',
|
|
xenapi_inject_image => 'false',
|
|
use_ipv6 => 'true',
|
|
flat_injected => 'true',
|
|
ipv6_backend => 'account_identifier',
|
|
}
|
|
class { "nova": novaConfHash => $novaConfFlags }
|
|
class { "nova::compute": isServiceEnabled => false }
|
|
}
|
|
include nova-compute-test
|