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":
+
+ }
+
+ }
+}