Project

General

Profile

Actions

Feature #2260

closed

Support dynamic ERB parameters in global and class params

Added by Greg Sutcliffe about 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
External Nodes
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Sometimes you want to pass information that Foreman knows (such as hostnames, IPs, MACs, subnets, etc) to Puppet through the ENC. At present it is not possible to do

parameters:
test: '<%= @host.name %>'

or

classes:
puppet:
certname: '<%= @host.certname %>'

Foreman will simply send this static string to Puppet. It would be nice to be able to send dynamic data to Puppet via ERB, just like we do in the templates.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #1107: variables in settingsClosed08/11/2011Actions
Actions

Also available in: Atom PDF