207 |
# to ease the creation of test iso |
# to ease the creation of test iso |
208 |
$netinst_iso_path = "/var/lib/libvirt/netboot" |
$netinst_iso_path = "/var/lib/libvirt/netboot" |
209 |
|
|
210 |
|
file { $netinst_iso_path: |
211 |
|
ensure => directory, |
212 |
|
} |
213 |
|
|
214 |
libvirtd::storage { "netinst_iso": |
libvirtd::storage { "netinst_iso": |
215 |
path => $netinst_iso_path, |
path => $netinst_iso_path, |
216 |
|
require => File[$netinst_iso_path], |
217 |
} |
} |
218 |
|
|
219 |
libvirtd::download::netboot_images { "mandriva": |
libvirtd::download::netboot_images { "mandriva": |
222 |
archs => ['i586','x86_64'], |
archs => ['i586','x86_64'], |
223 |
mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", |
mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", |
224 |
files => ['boot.iso'], |
files => ['boot.iso'], |
225 |
|
require => File[$netinst_iso_path], |
226 |
} |
} |
227 |
|
|
228 |
} |
} |