diff --git a/libvirt/manifests/init.pp b/libvirt/manifests/init.pp index 7820081..7844727 100644 --- a/libvirt/manifests/init.pp +++ b/libvirt/manifests/init.pp @@ -32,14 +32,14 @@ class libvirt::kvm inherits libvirt::client { case operatingsystem { centos,fedora: { case $operatingsystemrelease { - '/5\.[8-9]': { + '/5\.[8-9]/': { package { "kvm": ensure => installed, before => Service["libvirtd"], require => [ User["qemu"], Group["qemu"] ], } } - '/6\.[0-9]': { + default: { package { "qemu-kvm": ensure => installed, before => Service["libvirtd"], @@ -56,7 +56,7 @@ class libvirt::kvm inherits libvirt::client { file { "/etc/libvirt/libvirtd.conf": ensure => present, - mode => 0644, + mode => "0644", owner => "root", group => "root", content => template("libvirt/libvirtd.conf.erb"),