Hullo I'm running facter 1.5.8 (fedora 13). I'm not very clear about what the variable ipaddress is supposed to represent. I've read that it returns the ip address that's bound to the lowest alphabetic name of a network interface. That model seems a bit weird to me but that's probably because I'm just used to tools that return the set of IP addresses associated with the host, as seen from the host.
On one of my machines, ifconfig returns 5 device names which can have IP addresses associated with them (eth0, lo, virbr0, vmbridge, and vnet0), of these, eth0 is bridged to vmbridge (and has no IPv4 address of its own), lo I don't care about, virbr0 is the internal (ie not visible off the host) bridge created by some libvirt (I think) and I don't know where vnet0 comes from. Facter is returning the IP v4 address on virbr0, which is neither what the documentation says, nor much use as I can see that it's likely to be the same on all hosts that have libvirt installed. There are no IPv6 addresses returned. Am I seeing the expected behaviour for facter? Do I have to standardise how I name network interfaces and associate IP addresses to them to be able to deal with them all in a consistent, meaningful way (eg to pick out the IP that's used for backup, or the different IP addresses connected to the different edge switches)? tia Tim -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.