Project

General

Profile

Feature #6069

Allow override parameters with variables

Added by Alejandro Falcon almost 5 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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.

History

#1 Updated by Dominic Cleal almost 5 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.

#2 Updated by Michael Moll almost 2 years ago

  • Status changed from Feedback to Resolved

should be resolved by now

Also available in: Atom PDF