Displaying 1 result from an estimated 1 matches for "iface_fact".
Did you mean:
iface_facter
2009 Oct 29
2
template issue: nested variables?
I need to do something like this
node foo {
$iface = pcn0
...
}
# the template
<%= network_<%= iface %> %>/<% netmask_<%= iface %> %>
The idea being that a file would be built on the client holding the
value of pcn0''s network/netmask
Of course, I''m trying to avoid hard coding the interface name in order
to keep my code portable.
Thanks in advance