Hi all!

I have quation: how i may use nested variables/facts? For example, I
have variable $iface. It's variable declared in node brakets, and, use
with defenition. iface may be eth0, eth1(Linux), em0, ...
<freebsd>, ...

is fact:

facter | grep eth0 | grep mac
macaddress_eth0 => 54:52:00:3D:CB:40

We don'nt know name of $iface in our module (to generate network
settings), how we may use nested variables/facts? Syntax:

$mac = ${$macaddress_${iface}}

Does'nt work.

In documentation i did'nt find answer for my quation...

--

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


Reply via email to