aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auto_installation
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/auto_installation
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.gz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.bz2
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.xz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'modules/auto_installation')
-rw-r--r--modules/auto_installation/templates/default4
-rw-r--r--modules/auto_installation/templates/menu8
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/auto_installation/templates/default b/modules/auto_installation/templates/default
index a9ea8de3..637a73b2 100644
--- a/modules/auto_installation/templates/default
+++ b/modules/auto_installation/templates/default
@@ -4,12 +4,12 @@ TIMEOUT 100
NOESCAPE 1
MENU SHIFTKEY 1
-MENU TITLE PXE Boot on <%= fqdn %>
+MENU TITLE PXE Boot on <%= @fqdn %>
LABEL local
MENU LABEL Local
localboot 0
<% for m in menu_entries %>
-INCLUDE pxelinux.cfg/m/<%= m %>
+INCLUDE pxelinux.cfg/m/<%= @m %>
<% end %>
diff --git a/modules/auto_installation/templates/menu b/modules/auto_installation/templates/menu
index 3d0ce6fa..1b32ffb7 100644
--- a/modules/auto_installation/templates/menu
+++ b/modules/auto_installation/templates/menu
@@ -1,5 +1,5 @@
-LABEL <%= name %>
+LABEL <%= @name %>
MENU DEFAULT
- MENU LABEL Install <%= label %>
- kernel <%= kernel_path %>
- append <%= append %>
+ MENU LABEL Install <%= @label %>
+ kernel <%= @kernel_path %>
+ append <%= @append %>