Actions
Feature #6069
closedAllow override parameters with variables
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
It would be great that foreman allowed override puppet classes params and global params with variables like $hostname, $fqdn, etc. And then pass them as is to puppet instead of as strings with its names.
Updated by Dominic Cleal almost 10 years ago
- Status changed from New to Feedback
#2260 added support to use ERB inside class parameter values, including overrides. You should be able to use it in a similar way to templates (see TemplateWriting) and use <%= @host.name %>
<%= @host.shortname %>
etc.
Updated by Anonymous almost 7 years ago
- Status changed from Feedback to Resolved
should be resolved by now
Actions