diff options
author | Pascal Terjan <pterjan@mageia.org> | 2014-01-08 18:01:10 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2014-01-08 18:01:10 +0000 |
commit | e8761c4d951d0e97f3133944d595f10106b20f2f (patch) | |
tree | 894077fe6fa8bf089ede3a1fd0e6765545b53059 /modules | |
parent | b775778d1635cec8028ace047b3c992ea72f5c48 (diff) | |
download | puppet-e8761c4d951d0e97f3133944d595f10106b20f2f.tar puppet-e8761c4d951d0e97f3133944d595f10106b20f2f.tar.gz puppet-e8761c4d951d0e97f3133944d595f10106b20f2f.tar.bz2 puppet-e8761c4d951d0e97f3133944d595f10106b20f2f.tar.xz puppet-e8761c4d951d0e97f3133944d595f10106b20f2f.zip |
give access to /dev/kvm to people allowed to use libvirt
Diffstat (limited to 'modules')
-rw-r--r-- | modules/libvirtd/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |