From f1a77958bb386012fd09614a92011617024e00c0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 5 Apr 2011 02:08:01 +0000 Subject: add a netinst_storage class ( to hold various netinstallation related file in libvirtd ) --- modules/auto_installation/manifests/init.pp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'modules/auto_installation/manifests/init.pp') diff --git a/modules/auto_installation/manifests/init.pp b/modules/auto_installation/manifests/init.pp index 0e8bdcfd..2789cd6f 100644 --- a/modules/auto_installation/manifests/init.pp +++ b/modules/auto_installation/manifests/init.pp @@ -76,12 +76,23 @@ class auto_installation { # label # kernel # append + class netinst_storage { + # to ease the creation of test iso + $netinst_path = "/var/lib/libvirt/netinst" + + file { $netinst_path: + ensure => directory, + } + + libvirtd::storage { "netinst": + path => $netinst_path, + require => File[$netinst_path], + } + } # # define a template for autoinst # - basic installation # - server installation ( with server name as a parameter ) - - # TODO move here the downloader of boot.iso from libvirt module } -- cgit v1.2.1