Project

General

Profile

Actions

Bug #3602

closed

Provisioning templates do not support all the documented functions

Added by Jason Dillaman over 10 years ago. Updated over 10 years ago.

Status:
Duplicate
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

For example, attempting to use '@host.interfaces' results in the following error: "There was an error rendering the Test template: undefined method 'interfaces' for Host::Managed::Jail (Host::Managed)". The documented set of supported functions is located here: http://projects.theforeman.org/projects/foreman/wiki/TemplateWriting#Functions-and-macros.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2948: Whitelist additional Provisioning Template MacrosClosedLukas Zapletal08/19/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #2948: Whitelist additional Provisioning Template Macros added
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Duplicate

Thanks for the report, we'll try and track them all under #2948.

Actions

Also available in: Atom PDF