Merge "Added force_config_drive param for compute"

This commit is contained in:
Jenkins
2013-08-13 02:09:30 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 2 deletions

View File

@@ -96,6 +96,7 @@ class openstack::compute (
# General
$migration_support = false,
$verbose = false,
$force_config_drive = false,
$enabled = true
) {
@@ -144,6 +145,7 @@ class openstack::compute (
vnc_enabled => $vnc_enabled,
vncserver_proxyclient_address => $internal_address,
vncproxy_host => $vncproxy_host,
force_config_drive => $force_config_drive,
}
# Configure libvirt for nova-compute

View File

@@ -46,7 +46,8 @@ describe 'openstack::compute' do
:enabled => true,
:vnc_enabled => true,
:vncserver_proxyclient_address => '127.0.0.2',
:vncproxy_host => false
:vncproxy_host => false,
:force_config_drive => false
)
should contain_class('nova::compute::libvirt').with(
:libvirt_type => 'kvm',
@@ -103,6 +104,7 @@ describe 'openstack::compute' do
:libvirt_type => 'qemu',
:vncproxy_host => '127.0.0.2',
:vnc_enabled => false,
:force_config_drive => true,
:verbose => true
)
end
@@ -122,7 +124,8 @@ describe 'openstack::compute' do
:enabled => true,
:vnc_enabled => false,
:vncserver_proxyclient_address => '127.0.0.1',
:vncproxy_host => '127.0.0.2'
:vncproxy_host => '127.0.0.2',
:force_config_drive => true
)
should contain_class('nova::compute::libvirt').with(
:libvirt_type => 'qemu',