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.
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 to Feature #16740: Host parameters should be available in templates using some macro added
- Difficulty changed from easy to medium
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4835 added
- Translation missing: en.field_release set to 330
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Related to 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' added
- Triaged set to No
- Fixed in Releases 1.18.2 added
- Fixed in Releases 1.18.0 added
- Fixed in Releases deleted (
1.18.2)
Also available in: Atom
PDF