Hello list. I am trying to read the IP address of the eth0 interface from a 
CentOS 6.5 VM (XenServer).

Running the manifest gives empty values to all of the following vars: 
$ipaddress, $ipaddress_eth0, and its $::<name> version. $interfaces has 
"eth0,lo".

Running facter from the VM I get:

# facter -v
2.0.1

# facter | grep virtual
is_virtual => true
virtual => xenu

# facter | grep eth
interfaces => eth0,lo
mtu_eth0 => 1500

# facter ipaddress_eth0

# facter ipaddress

ifconfig output:

# ifconfig eth0
eth0      Link encap:Ethernet  Endereço de HW 7E:81:CD:66:77:DF  
          inet end.: 10.200.118.83  Bcast:10.200.119.255  Masc:255.255.254.0
          UP BROADCASTRUNNING MULTICAST  MTU:1500  Métrica:1
          ...etc...

Any tip? Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1ee3b4b4-95c8-4636-abb6-fcd665a85c85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to