Revision
881
Author
misc
Date
2011-01-23 15:32:17 +0100 (Sun, 23 Jan 2011)

Log Message

- add libvirtd module, to have the minimal support for using
virt-manager

Added Paths

Added: puppet/modules/libvirtd/manifests/init.pp
===================================================================
--- puppet/modules/libvirtd/manifests/init.pp	                        (rev 0)
+++ puppet/modules/libvirtd/manifests/init.pp	2011-01-23 14:32:17 UTC (rev 881)
@@ -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":
+
+        }
+    
+    }
+}