diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-05 02:08:01 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-05 02:08:01 +0000 |
commit | f1a77958bb386012fd09614a92011617024e00c0 (patch) | |
tree | 8edfdd9f1deb69c918b70de9360d16819c6fcf9f | |
parent | 405534f7ea5d3a62ca7b22532c65be7368249edd (diff) | |
download | puppet-f1a77958bb386012fd09614a92011617024e00c0.tar puppet-f1a77958bb386012fd09614a92011617024e00c0.tar.gz puppet-f1a77958bb386012fd09614a92011617024e00c0.tar.bz2 puppet-f1a77958bb386012fd09614a92011617024e00c0.tar.xz puppet-f1a77958bb386012fd09614a92011617024e00c0.zip |
add a netinst_storage class ( to hold various netinstallation related
file in libvirtd )
-rw-r--r-- | modules/auto_installation/manifests/init.pp | 15 |
1 files changed, 13 insertions, 2 deletions
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 } |