2013-03-19 14:34:35 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
describe 'nova::compute::libvirt' do
|
|
|
|
|
|
|
|
let :pre_condition do
|
2013-03-20 12:59:19 -07:00
|
|
|
"include nova\ninclude nova::compute"
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'on debian platforms' do
|
|
|
|
let :facts do
|
|
|
|
{ :osfamily => 'Debian' }
|
|
|
|
end
|
2013-03-19 14:34:35 -04:00
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with default parameters' do
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_class('nova::params')}
|
2013-12-25 02:10:52 +01:00
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_package('nova-compute-kvm').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'present',
|
2014-11-13 11:55:04 -05:00
|
|
|
:before => 'Package[nova-compute]',
|
2015-02-04 12:53:20 -07:00
|
|
|
:tag => ['openstack']
|
2013-12-25 02:10:52 +01:00
|
|
|
) }
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_package('libvirt').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:name => 'libvirt-bin',
|
|
|
|
:ensure => 'present'
|
|
|
|
) }
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('libvirt').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:name => 'libvirt-bin',
|
2014-02-24 15:17:16 +01:00
|
|
|
:enable => true,
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'running',
|
|
|
|
:provider => 'upstart',
|
|
|
|
:require => 'Package[libvirt]',
|
2015-05-14 14:46:14 +02:00
|
|
|
:before => ['Service[nova-compute]']
|
2013-12-25 02:10:52 +01:00
|
|
|
)}
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('libvirt.LibvirtDriver')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('kvm')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/cpu_mode').with_value('host-model')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/disk_cachemodes').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_password').with_value(false)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_key').with_value(false)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_partition').with_value(-2)}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('127.0.0.1')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_base_images').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_original_minimum_age_seconds').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_kernels').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_resized_minimum_age_seconds').with_ensure('absent')}
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with params' do
|
2013-03-19 14:34:35 -04:00
|
|
|
let :params do
|
2014-03-04 14:48:08 +01:00
|
|
|
{ :libvirt_virt_type => 'qemu',
|
|
|
|
:vncserver_listen => '0.0.0.0',
|
|
|
|
:libvirt_cpu_mode => 'host-passthrough',
|
|
|
|
:libvirt_disk_cachemodes => ['file=directsync','block=none'],
|
|
|
|
:remove_unused_base_images => true,
|
|
|
|
:remove_unused_kernels => true,
|
|
|
|
:remove_unused_resized_minimum_age_seconds => 3600,
|
2014-09-29 12:30:34 +02:00
|
|
|
:remove_unused_original_minimum_age_seconds => 3600,
|
2015-07-07 20:53:02 -04:00
|
|
|
:libvirt_service_name => 'custom_service',
|
|
|
|
:compute_driver => 'libvirt.FoobarDriver',
|
2013-12-25 02:10:52 +01:00
|
|
|
}
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2015-07-07 20:53:02 -04:00
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('libvirt.FoobarDriver')}
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('qemu')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/cpu_mode').with_value('host-passthrough')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/disk_cachemodes').with_value('file=directsync,block=none')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('0.0.0.0')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_base_images').with_value(true)}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_original_minimum_age_seconds').with_value(3600)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_kernels').with_value(true)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_resized_minimum_age_seconds').with_value(3600)}
|
|
|
|
it { is_expected.to contain_service('libvirt').with(
|
2014-09-29 12:30:34 +02:00
|
|
|
:name => 'custom_service',
|
|
|
|
:enable => true,
|
|
|
|
:ensure => 'running',
|
|
|
|
:require => 'Package[libvirt]',
|
2015-05-14 14:46:14 +02:00
|
|
|
:before => ['Service[nova-compute]']
|
2014-09-29 12:30:34 +02:00
|
|
|
)}
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with migration_support enabled' do
|
|
|
|
|
2013-03-19 14:34:35 -04:00
|
|
|
context 'with vncserver_listen set to 0.0.0.0' do
|
2013-12-25 02:10:52 +01:00
|
|
|
let :params do
|
2014-02-24 15:17:16 +01:00
|
|
|
{ :vncserver_listen => '0.0.0.0',
|
2013-12-25 02:10:52 +01:00
|
|
|
:migration_support => true }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_class('nova::migration::libvirt')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('0.0.0.0')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/default/libvirt-bin libvirtd opts').with(:line => 'libvirtd_opts="-d -l"') }
|
2015-04-09 01:25:32 +02:00
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tls').with(:line => "listen_tls = 0") }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tcp').with(:line => "listen_tcp = 1") }
|
|
|
|
it { is_expected.not_to contain_file_line('/etc/libvirt/libvirtd.conf auth_tls')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf auth_tcp').with(:line => "auth_tcp = \"none\"") }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 15:42:59 -04:00
|
|
|
context 'with vncserver_listen set to ::0' do
|
|
|
|
let :params do
|
|
|
|
{ :vncserver_listen => '::0',
|
|
|
|
:migration_support => true }
|
|
|
|
end
|
|
|
|
|
2015-05-05 15:03:51 +02:00
|
|
|
it { is_expected.to contain_class('nova::migration::libvirt')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('::0')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/default/libvirt-bin libvirtd opts').with(:line => 'libvirtd_opts="-d -l"') }
|
2015-04-09 01:25:32 +02:00
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tls').with(:line => "listen_tls = 0") }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tcp').with(:line => "listen_tcp = 1") }
|
|
|
|
it { is_expected.not_to contain_file_line('/etc/libvirt/libvirtd.conf auth_tls')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf auth_tcp').with(:line => "auth_tcp = \"none\"") }
|
2015-03-16 15:42:59 -04:00
|
|
|
end
|
|
|
|
|
2013-03-19 14:34:35 -04:00
|
|
|
context 'with vncserver_listen not set to 0.0.0.0' do
|
2013-12-25 02:10:52 +01:00
|
|
|
let :params do
|
2014-02-24 15:17:16 +01:00
|
|
|
{ :vncserver_listen => '127.0.0.1',
|
2013-12-25 02:10:52 +01:00
|
|
|
:migration_support => true }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { expect { is_expected.to contain_class('nova::compute::libvirt') }.to \
|
2015-03-16 15:42:59 -04:00
|
|
|
raise_error(Puppet::Error, /For migration support to work, you MUST set vncserver_listen to '0.0.0.0' or '::0'/) }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
2014-10-14 14:34:37 -04:00
|
|
|
|
2015-02-04 11:55:36 -07:00
|
|
|
context 'with custom libvirt service name on Debian platforms' do
|
2014-10-14 14:34:37 -04:00
|
|
|
let :params do
|
|
|
|
{ :libvirt_service_name => 'libvirtd',
|
|
|
|
:vncserver_listen => '0.0.0.0',
|
|
|
|
:migration_support => true }
|
|
|
|
end
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_file_line('/etc/default/libvirtd libvirtd opts').with(:line => 'libvirtd_opts="-d -l"') }
|
2014-10-14 14:34:37 -04:00
|
|
|
|
|
|
|
end
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
|
|
|
|
describe 'on rhel platforms' do
|
2013-03-19 14:34:35 -04:00
|
|
|
let :facts do
|
2014-04-22 15:16:04 -04:00
|
|
|
{ :operatingsystem => 'RedHat', :osfamily => 'RedHat',
|
2015-02-24 15:33:43 -07:00
|
|
|
:operatingsystemrelease => 6.5,
|
|
|
|
:operatingsystemmajrelease => '6' }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with default parameters' do
|
2013-03-19 14:34:35 -04:00
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_class('nova::params')}
|
2013-03-19 14:34:35 -04:00
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_package('libvirt').with(
|
2015-06-23 22:35:16 +02:00
|
|
|
:name => 'libvirt-daemon-kvm',
|
|
|
|
:ensure => 'present',
|
|
|
|
) }
|
|
|
|
|
|
|
|
it { is_expected.to contain_package('libvirt-nwfilter').with(
|
|
|
|
:name => 'libvirt-daemon-config-nwfilter',
|
|
|
|
:ensure => 'present',
|
|
|
|
:before => 'Service[libvirt]',
|
2013-12-25 02:10:52 +01:00
|
|
|
) }
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('libvirt').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:name => 'libvirtd',
|
2014-02-24 15:17:16 +01:00
|
|
|
:enable => true,
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'running',
|
2015-02-24 15:33:43 -07:00
|
|
|
:provider => 'init',
|
2013-12-25 02:10:52 +01:00
|
|
|
:require => 'Package[libvirt]',
|
2015-05-14 14:46:14 +02:00
|
|
|
:before => ['Service[nova-compute]']
|
2013-12-25 02:10:52 +01:00
|
|
|
)}
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('messagebus').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'running',
|
|
|
|
:enable => true,
|
2015-05-14 14:46:14 +02:00
|
|
|
:before => ['Service[libvirt]'],
|
2015-05-13 18:03:00 +02:00
|
|
|
:provider => 'init',
|
|
|
|
:name => 'messagebus'
|
2013-12-25 02:10:52 +01:00
|
|
|
) }
|
2013-03-19 14:34:35 -04:00
|
|
|
|
2014-04-22 15:16:04 -04:00
|
|
|
describe 'on rhel 7' do
|
|
|
|
let :facts do
|
|
|
|
super().merge(:operatingsystemrelease => 7.0)
|
2015-02-24 15:33:43 -07:00
|
|
|
super().merge(:operatingsystemmajrelease => '7')
|
2014-04-22 15:16:04 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('libvirt').with(
|
2014-04-22 15:16:04 -04:00
|
|
|
:provider => nil
|
|
|
|
)}
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('messagebus').with(
|
2015-05-13 18:03:00 +02:00
|
|
|
:provider => nil,
|
|
|
|
:name => 'dbus'
|
2014-04-22 15:16:04 -04:00
|
|
|
)}
|
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('libvirt.LibvirtDriver')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('kvm')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_password').with_value(false)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_key').with_value(false)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/inject_partition').with_value(-2)}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('127.0.0.1')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_base_images').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_original_minimum_age_seconds').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_kernels').with_ensure('absent')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_resized_minimum_age_seconds').with_ensure('absent')}
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with params' do
|
|
|
|
let :params do
|
2014-03-04 14:48:08 +01:00
|
|
|
{ :libvirt_virt_type => 'qemu',
|
|
|
|
:vncserver_listen => '0.0.0.0',
|
|
|
|
:remove_unused_base_images => true,
|
|
|
|
:remove_unused_kernels => true,
|
|
|
|
:remove_unused_resized_minimum_age_seconds => 3600,
|
|
|
|
:remove_unused_original_minimum_age_seconds => 3600
|
2013-12-25 02:10:52 +01:00
|
|
|
}
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('qemu')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('0.0.0.0')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_base_images').with_value(true)}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/remove_unused_original_minimum_age_seconds').with_value(3600)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_kernels').with_value(true)}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/remove_unused_resized_minimum_age_seconds').with_value(3600)}
|
2015-06-23 22:35:16 +02:00
|
|
|
it { is_expected.to contain_package('libvirt').with(
|
|
|
|
:name => 'libvirt-daemon-kvm',
|
|
|
|
:ensure => 'present'
|
|
|
|
) }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with migration_support enabled' do
|
|
|
|
|
|
|
|
context 'with vncserver_listen set to 0.0.0.0' do
|
|
|
|
let :params do
|
2014-02-24 15:17:16 +01:00
|
|
|
{ :vncserver_listen => '0.0.0.0',
|
2013-12-25 02:10:52 +01:00
|
|
|
:migration_support => true }
|
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_class('nova::migration::libvirt')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('0.0.0.0')}
|
2015-04-09 01:25:32 +02:00
|
|
|
it { is_expected.to contain_file_line('/etc/sysconfig/libvirtd libvirtd args').with(:line => 'LIBVIRTD_ARGS="--listen"') }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tls').with(:line => "listen_tls = 0") }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tcp').with(:line => "listen_tcp = 1") }
|
|
|
|
it { is_expected.not_to contain_file_line('/etc/libvirt/libvirtd.conf auth_tls')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf auth_tcp').with(:line => "auth_tcp = \"none\"") }
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'with vncserver_listen set to ::0' do
|
|
|
|
let :params do
|
|
|
|
{ :vncserver_listen => '::0',
|
|
|
|
:migration_support => true }
|
|
|
|
end
|
|
|
|
|
|
|
|
it { is_expected.to contain_class('nova::migration::libvirt')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('::0')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/sysconfig/libvirtd libvirtd args').with(:line => 'LIBVIRTD_ARGS="--listen"') }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tls').with(:line => "listen_tls = 0") }
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf listen_tcp').with(:line => "listen_tcp = 1") }
|
|
|
|
it { is_expected.not_to contain_file_line('/etc/libvirt/libvirtd.conf auth_tls')}
|
|
|
|
it { is_expected.to contain_file_line('/etc/libvirt/libvirtd.conf auth_tcp').with(:line => "auth_tcp = \"none\"") }
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
context 'with vncserver_listen not set to 0.0.0.0' do
|
|
|
|
let :params do
|
2014-02-24 15:17:16 +01:00
|
|
|
{ :vncserver_listen => '127.0.0.1',
|
2013-12-25 02:10:52 +01:00
|
|
|
:migration_support => true }
|
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { expect { is_expected.to contain_class('nova::compute::libvirt') }.to \
|
2013-12-25 02:10:52 +01:00
|
|
|
raise_error(Puppet::Error, /For migration support to work, you MUST set vncserver_listen to '0.0.0.0'/) }
|
|
|
|
end
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
2013-04-05 10:48:35 -04:00
|
|
|
|
2013-12-25 02:10:52 +01:00
|
|
|
describe 'with default parameters on Fedora' do
|
|
|
|
let :facts do
|
|
|
|
{ :operatingsystem => 'Fedora', :osfamily => 'RedHat' }
|
2013-04-05 10:48:35 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_class('nova::params')}
|
2013-04-05 10:48:35 -04:00
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_package('libvirt').with(
|
2015-06-23 22:35:16 +02:00
|
|
|
:name => 'libvirt-daemon-kvm',
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'present'
|
2014-01-30 17:09:21 -05:00
|
|
|
) }
|
2013-12-25 02:10:52 +01:00
|
|
|
|
2015-06-23 22:35:16 +02:00
|
|
|
it { is_expected.to contain_package('libvirt-nwfilter').with(
|
|
|
|
:name => 'libvirt-daemon-config-nwfilter',
|
|
|
|
:ensure => 'present',
|
|
|
|
:before => 'Service[libvirt]',
|
|
|
|
) }
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_service('libvirt').with(
|
2013-12-25 02:10:52 +01:00
|
|
|
:name => 'libvirtd',
|
2014-02-24 15:17:16 +01:00
|
|
|
:enable => true,
|
2013-12-25 02:10:52 +01:00
|
|
|
:ensure => 'running',
|
|
|
|
:provider => nil,
|
|
|
|
:require => 'Package[libvirt]',
|
2015-05-14 14:46:14 +02:00
|
|
|
:before => ['Service[nova-compute]']
|
2013-12-25 02:10:52 +01:00
|
|
|
)}
|
|
|
|
|
2015-03-16 03:05:59 +01:00
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/compute_driver').with_value('libvirt.LibvirtDriver')}
|
|
|
|
it { is_expected.to contain_nova_config('libvirt/virt_type').with_value('kvm')}
|
|
|
|
it { is_expected.to contain_nova_config('DEFAULT/vncserver_listen').with_value('127.0.0.1')}
|
2013-04-05 10:48:35 -04:00
|
|
|
end
|
2013-12-25 02:10:52 +01:00
|
|
|
|
2013-03-19 14:34:35 -04:00
|
|
|
end
|
|
|
|
end
|