Added system user for QEMU
This commit is contained in:
parent
9c39707a82
commit
02c310923b
2 changed files with 20 additions and 2 deletions
|
@ -25,9 +25,13 @@ class libvirt::client {
|
|||
#
|
||||
class libvirt::kvm inherits libvirt::client {
|
||||
|
||||
include user::system
|
||||
realize(User["qemu"], Group["qemu"])
|
||||
|
||||
package { "qemu-kvm":
|
||||
ensure => installed,
|
||||
before => Service["libvirtd"],
|
||||
ensure => installed,
|
||||
before => Service["libvirtd"],
|
||||
require => [ User["qemu"], Group["qemu"] ],
|
||||
}
|
||||
|
||||
if !$libvirt_admingroup {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue