i think you can use something like "${macaddress}_${eth_name}"
On Sun, Sep 20, 2009 at 12:08 AM, sam <samsabed@gmail.com> wrote:
>
> hi
> is it possible to use a variable to name the fact I am after
> eg
>
> define config_net ($eth_name) {
> $mac = $macaddress_$eth_name
> }
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---