Project

General

Profile

Feature #2260

Updated by Ohad Levy over 11 years ago

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. 
 

Back