Project

General

Profile

Actions

Bug #20931

closed

Using host_params in parameters leads to @Safemode doesn't allow to access 'host_params' on #<Safemode::ScopeObject>@

Added by Ivan Necas about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Parameters
Target version:
Difficulty:
medium
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

1. use <%= host_params('blabla') %> inside the host parameters
2. Rendering fails on Safemode doesn't allow to access 'host_params' on #<Safemode::ScopeObject>


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #16740: Host parameters should be available in templates using some macroClosedOndřej Pražák09/29/2016Actions
Related to Foreman - Bug #23593: function "host_param" in default value of smart class parameter is not allowed anymore. It results in undefined method `host_param' (erb):1:in `parse_string'DuplicateActions
Actions

Also available in: Atom PDF