Displaying 1 result from an estimated 1 matches for "my_default_nic".
2013 Nov 18
3
Is it possible to evaluate a string as a parameter name?
Hi,
I''m looking to combine a couple of fact names with the value of a class
parameter to create and lookup the resulting fact''s value. Is that
possible? For example, my class will take the parameter "my_default_nic"
from beyond. So I know that as long as $my_default_nic exists on the
client, then so will facts like macaddress_<NIC>, netmask_<NIC>, and
ipaddress_<NIC>. So I''m looking for a way to formulate those fact names
and evaluate the result...
Is this at all possibl...