Project

General

Profile

Actions

Feature #6069

closed

Allow override parameters with variables

Added by Alejandro Falcon almost 10 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

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.

Actions #2

Updated by Anonymous almost 7 years ago

  • Status changed from Feedback to Resolved

should be resolved by now

Actions

Also available in: Atom PDF