Displaying 1 result from an estimated 1 matches for "project_my_project".
2010 Oct 06
1
Dynamic Variable Name
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 Us...