Project

General

Custom queries

Profile

Actions

Bug #2948

closed

Whitelist additional Provisioning Template Macros

Added by Ronny M over 11 years ago. Updated almost 7 years ago.

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

Description

If would like to have the following Provisioning Template macro's white listed so they can be used in templates with savemode_render set to true in provisioning settings.
@host.interfaces.size
@host.interfaces.empty


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #3602: Provisioning templates do not support all the documented functionsDuplicateJason Dillaman11/07/2013Actions
Related to Boot disk - Support #4184: undefined method 'mask' for Safemode::Jail (NilClass)Closed01/25/2014Actions
Related to Discovery - Bug #9077: Hostname templating does not work with facts_hashClosedLukas Zapletal01/22/2015Actions

Added by Lukas Zapletal about 10 years ago

Revision 13d9564d (diff)

Fixes #2948 - added sp_* host attributes to safe mode

Refs #2948 - Add sp_ host attributes to jail test

Added by Lukas Zapletal about 10 years ago

Revision faeca375 (diff)

Fixes #2948 - added sp_* host attributes to safe mode

Refs #2948 - Add sp_ host attributes to jail test

(cherry picked from commit 13d9564d3b64da23aafd0e8dc6d243a8f032dd2c)

Actions

Also available in: Atom PDF