aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/libvirtd/manifests/init.pp23
1 files changed, 23 insertions, 0 deletions
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":
+
+ }
+
+ }
+}