Silviu Paragina wrote: > (ip_list is a custom fact that lists the machines ip addresses sorted, > except 127.0.0.1) >
Could you post more of the manifest? You might be able to use the interfaces fact instead of writing your own: sc...@dongle:~% for iface in `facter | egrep -e '^interfaces' | awk '{ print $3 }'` do facter | egrep -e "(ipaddress|macaddress|netmask|network)_$iface" done ipaddress_eth0 => 10.15.50.36 macaddress_eth0 => 00:23:ae:98:02:b5 netmask_eth0 => 255.255.255.0 network_eth0 => 10.15.50.0 sc...@dongle:~% Maybe it won't help in your case, but it could at least reduce the amount of code you write/debug :) -scott -- 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.