In a template, is there a way to use a variable to reference another variable 
name? For instance, let's say I have a variable 'interface', and in my template 
I want to reference @ipaddress_$interface so that when interface = 'eth0' I get 
the value of @ipaddress_eth0, but when interface = 'eth1' I get the value of 
@ipaddress_eth1.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to