From 96138f1923632108b0a0be2585539b61a5c14743 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 29 Mar 2011 23:03:04 +0000 Subject: - fix require, and create the directory --- manifests/nodes.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/nodes.pp b/manifests/nodes.pp index 06d2dcbe..68720989 100644 --- a/manifests/nodes.pp +++ b/manifests/nodes.pp @@ -207,8 +207,13 @@ node rabbit { # to ease the creation of test iso $netinst_iso_path = "/var/lib/libvirt/netboot" + file { $netinst_iso_path: + ensure => directory, + } + libvirtd::storage { "netinst_iso": path => $netinst_iso_path, + require => File[$netinst_iso_path], } libvirtd::download::netboot_images { "mandriva": @@ -217,6 +222,7 @@ node rabbit { archs => ['i586','x86_64'], mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", files => ['boot.iso'], + require => File[$netinst_iso_path], } } -- cgit v1.2.1