Add qemu_config to acceptance testing
... so that we test the resource type. Change-Id: Ifa899095198f8288aec67e60c6d8c6ca0ba0955d Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
This commit is contained in:
@@ -16,6 +16,7 @@ describe 'basic libvirtd_config resource' do
|
|||||||
File <||> -> Virtqemud_config <||>
|
File <||> -> Virtqemud_config <||>
|
||||||
File <||> -> Virtsecretd_config <||>
|
File <||> -> Virtsecretd_config <||>
|
||||||
File <||> -> Virtstoraged_config <||>
|
File <||> -> Virtstoraged_config <||>
|
||||||
|
File <||> -> Qemu_config <||>
|
||||||
|
|
||||||
file { '/etc/libvirt' :
|
file { '/etc/libvirt' :
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
@@ -23,7 +24,7 @@ describe 'basic libvirtd_config resource' do
|
|||||||
|
|
||||||
[
|
[
|
||||||
'libvirtd', 'virtlogd', 'virtlockd', 'virtnodedevd', 'virtproxyd',
|
'libvirtd', 'virtlogd', 'virtlockd', 'virtnodedevd', 'virtproxyd',
|
||||||
'virtqemud', 'virtsecretd', 'virtstoraged'
|
'virtqemud', 'virtsecretd', 'virtstoraged', 'qemu'
|
||||||
].each | String $daemon | {
|
].each | String $daemon | {
|
||||||
|
|
||||||
file { "/etc/libvirt/${daemon}.conf" :
|
file { "/etc/libvirt/${daemon}.conf" :
|
||||||
@@ -65,7 +66,7 @@ describe 'basic libvirtd_config resource' do
|
|||||||
|
|
||||||
[
|
[
|
||||||
'libvirtd', 'virtlogd', 'virtlockd', 'virtnodedevd', 'virtproxyd',
|
'libvirtd', 'virtlogd', 'virtlockd', 'virtnodedevd', 'virtproxyd',
|
||||||
'virtqemud', 'virtsecretd', 'virtstoraged'
|
'virtqemud', 'virtsecretd', 'virtstoraged', 'qemu'
|
||||||
].each do | daemon |
|
].each do | daemon |
|
||||||
describe file("/etc/libvirt/#{daemon}.conf") do
|
describe file("/etc/libvirt/#{daemon}.conf") do
|
||||||
it { is_expected.to exist }
|
it { is_expected.to exist }
|
||||||
|
Reference in New Issue
Block a user