Re: [Puppet Users] Dynamic Variable Name

2010-10-06 Thread Rob McBroom
On Oct 6, 2010, at 2:48 PM, Rodrigo Lopes wrote: > Any alternative? There may be other options, but I would look at inline_template() for this. http://docs.puppetlabs.com/references/latest/function.html#inline_template -- Rob McBroom -- You received this message bec

[Puppet Users] Dynamic Variable Name

2010-10-06 Thread Rodrigo Lopes
Is it possible to dynamically determine a variable's name? I would like to do: $project_NAME where NAME can be anything. I've tried this (for experiment purposes): $project_name = 'my_project' $project_my_project = '/mnt/pa/test' #this variable will be set out of this script notice($"project$