[Mageia-sysadm] [881] - add libvirtd module, to have the minimal support for using

root at mageia.org root at mageia.org
Sun Jan 23 15:32:17 CET 2011


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:
-----------
    puppet/modules/libvirtd/
    puppet/modules/libvirtd/manifests/
    puppet/modules/libvirtd/manifests/init.pp

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":
+
+        }
+    
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110123/3e9d863a/attachment.html>


More information about the Mageia-sysadm mailing list