From bce68e5fb29ec2d651c71e7c975f8abce664591e Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 23 Jan 2011 14:32:17 +0000 Subject: - add libvirtd module, to have the minimal support for using virt-manager --- modules/libvirtd/manifests/init.pp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/libvirtd/manifests/init.pp (limited to 'modules/libvirtd') diff --git a/modules/libvirtd/manifests/init.pp b/modules/libvirtd/manifests/init.pp new file mode 100644 index 00000000..8271e1b1 --- /dev/null +++ b/modules/libvirtd/manifests/init.pp @@ -0,0 +1,23 @@ +class libvirtd { + class base { + # make sure to use a recent enough version + # dnsmasq-base -> for nat network + # netcat-openbsd -> for ssh remote access + # iptables -> for dhcp, message error was quite puzzling + package { ["libvirtd","dnsmasq-base","netcat-openbsd","iptables"]: + } + + service { libvirtd: + ensure => running, + path => "/etc/init.d/libvirtd", + } + } + + class kvm inherits base { + # pull cyrus-sasl, should be checked + package { "qemu": + + } + + } +} -- cgit v1.2.1