aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auto_installation
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-04-05 02:08:00 +0000
committerMichael Scherer <misc@mageia.org>2011-04-05 02:08:00 +0000
commit405534f7ea5d3a62ca7b22532c65be7368249edd (patch)
treedff99e3eac94f1c294d586f66ba92fa77b6c7783 /modules/auto_installation
parentee683c7ad5cf594d3068deaea28cf24096701cb3 (diff)
downloadpuppet-405534f7ea5d3a62ca7b22532c65be7368249edd.tar
puppet-405534f7ea5d3a62ca7b22532c65be7368249edd.tar.gz
puppet-405534f7ea5d3a62ca7b22532c65be7368249edd.tar.bz2
puppet-405534f7ea5d3a62ca7b22532c65be7368249edd.tar.xz
puppet-405534f7ea5d3a62ca7b22532c65be7368249edd.zip
- add missing file, and also add a parameter to have a more readable
title in entry
Diffstat (limited to 'modules/auto_installation')
-rw-r--r--modules/auto_installation/manifests/init.pp2
-rw-r--r--modules/auto_installation/templates/menu5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/auto_installation/manifests/init.pp b/modules/auto_installation/manifests/init.pp
index 7c5baf64..0e8bdcfd 100644
--- a/modules/auto_installation/manifests/init.pp
+++ b/modules/auto_installation/manifests/init.pp
@@ -63,7 +63,7 @@ class auto_installation {
}
}
- define pxe_menu_entry($kernel_path, $append) {
+ define pxe_menu_entry($kernel_path, $append, $label) {
@@auto_installation::pxe_menu_base { $name:
tag => $fqdn,
content => template('auto_installation/menu'),
diff --git a/modules/auto_installation/templates/menu b/modules/auto_installation/templates/menu
new file mode 100644
index 00000000..b7f6c910
--- /dev/null
+++ b/modules/auto_installation/templates/menu
@@ -0,0 +1,5 @@
+LABEL <%= name %>
+ MENU DEFAULT
+ MENU LABEL Install <%= label %>
+ kernel <%= kernel_path %>
+ append <%= append %>