Folks,

  Using PE 3.0 we need to generate a dynamic string inside a text file 
based upon $hostname of several puppet agents.

  The string looks something like:

  Servers hostname1.com:port,hostname2.com:port,hostnamex.com:port

  We can certainly do this with hiera... however, as we are moving 
hieradatastore into git, we need a different way to generate this string.

  
  Right now, the string is generated inside a template file via:

<%= scope.function_weblogiccluster([hostnamearray,renderAppPort]) %>

  Is there a way we can get this 'hostnamearray" generated via mcollective 
or puppetdb, exported resources, etc?

Thanks!

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to