From 93c051f505bfa77c1040f41747de94a1dcd9b604 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 29 Mar 2011 22:48:02 +0000 Subject: deploy boot.iso on rabbit, with a dedicated storage to create vm for testing upgrade --- manifests/nodes.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'manifests') diff --git a/manifests/nodes.pp b/manifests/nodes.pp index 1fbb5c24..06d2dcbe 100644 --- a/manifests/nodes.pp +++ b/manifests/nodes.pp @@ -203,4 +203,20 @@ node rabbit { # for testing iso quickly include libvirtd::kvm libvirtd::group_access { "mga-iso_makers": } + + # to ease the creation of test iso + $netinst_iso_path = "/var/lib/libvirt/netboot" + + libvirtd::storage { "netinst_iso": + path => $netinst_iso_path, + } + + libvirtd::download::netboot_images { "mandriva": + path => $netinst_iso_path, + versions => ["2010.0","2010.1"], + archs => ['i586','x86_64'], + mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", + files => ['boot.iso'], + } + } -- cgit v1.2.1