Puppet facter 1.6.8 and inet6 addresses

16 views
Skip to first unread message

Christophe L

unread,
May 17, 2012, 9:36:49 AM5/17/12
to puppet...@googlegroups.com
Hello,

when running the command "ip a" on a debian VM, I get this

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:56:99:73:35 brd ff:ff:ff:ff:ff:ff
    inet 10.66.112.71/24 brd 10.66.112.255 scope global eth0
    inet6 fe80::250:56ff:fe99:7335/64 scope link
       valid_lft forever preferred_lft forever

But with facter run as root I don't get any inet6 adress

facter | grep addr

ipaddress => 10.66.112.71
ipaddress_eth0 => 10.66.112.71
ipaddress_lo => 127.0.0.1
macaddress => 00:50:56:99:73:35
macaddress_eth0 => 00:50:56:99:73:35

I'm using facter v1.6.8

Could you please tell me how to get the IPv6 adresse using facter ?

Thanks in advance
Best regards,
Christophe

R.I.Pienaar

unread,
May 17, 2012, 9:39:31 AM5/17/12
to puppet...@googlegroups.com
Facter specifically do not report link local addresses.
Reply all
Reply to author
Forward
0 new messages