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$project_name")

This is not parseble! Is it possible? Any alternative?

Best regards,
Rodrigo

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to