aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-29 23:03:04 +0000
committerMichael Scherer <misc@mageia.org>2011-03-29 23:03:04 +0000
commit96138f1923632108b0a0be2585539b61a5c14743 (patch)
treeef364ce98abb951817d5de2ce20f323dadad6260 /manifests
parent93c051f505bfa77c1040f41747de94a1dcd9b604 (diff)
downloadpuppet-96138f1923632108b0a0be2585539b61a5c14743.tar
puppet-96138f1923632108b0a0be2585539b61a5c14743.tar.gz
puppet-96138f1923632108b0a0be2585539b61a5c14743.tar.bz2
puppet-96138f1923632108b0a0be2585539b61a5c14743.tar.xz
puppet-96138f1923632108b0a0be2585539b61a5c14743.zip
- fix require, and create the directory
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nodes.pp6
1 files changed, 6 insertions, 0 deletions
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],
}
}