Hello list.

I'm trying to use PuppetDB to link a webserver cluster to an EJB cluster. 
Each webserver host need to reference a comma separated list of IPs 
provided by each EJB host

Exporting and collecting resources works pretty nice but I think this isn't 
the better approach. I just need a variable with a hash or an array to 
iterate within an ERB template in order to build my list.

I tried the generate() function approach, using curl to request a JSON 
array. Iterating such array I can populate my template. But this approach 
sounds more a workaround instead a solution.

Do you have another ideas to this scenario?

Thanks, JM

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9e4e9385-8c6f-4b9f-95f1-6d502baf0048%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to