From e8761c4d951d0e97f3133944d595f10106b20f2f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 8 Jan 2014 18:01:10 +0000 Subject: give access to /dev/kvm to people allowed to use libvirt --- modules/libvirtd/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') diff --git a/modules/libvirtd/manifests/init.pp b/modules/libvirtd/manifests/init.pp index 7dcf5fc4..8163010d 100644 --- a/modules/libvirtd/manifests/init.pp +++ b/modules/libvirtd/manifests/init.pp @@ -51,6 +51,12 @@ class libvirtd { content => template('libvirtd/50-template-libvirt-remote-access.pkla'), require => Package['libvirt-utils'], } + # give access to /dev/kvm to people allowed to use libvirt + file { '/dev/kvm': + group => $name, + owner => 'root', + mode => 660, + } } define storage($path, $autostart = true) { -- cgit v1.2.1