Project

General

Profile

Bug #3602

Provisioning templates do not support all the documented functions

Added by Jason Dillaman almost 6 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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

Related to Foreman - Bug #2948: Whitelist additional Provisioning Template MacrosClosed2013-08-19

History

#1 Updated by Dominic Cleal almost 6 years ago

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

#2 Updated by Dominic Cleal almost 6 years ago

  • Status changed from New to Duplicate

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

Also available in: Atom PDF