Issue #12556 has been updated by Jure Pecar.
ifconfig output, as requested:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:B3:6A:5D
inet addr:192.168.140.1 Bcast:192.168.255.255 Mask:255.255.128.0
inet6 addr: fe80::250:56ff:feb3:6a5d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:638042 errors:0 dropped:0 overruns:0 frame:0
TX packets:38099 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19942311 (19.0 MiB) TX bytes:4734184 (4.5 MiB)
eth1 Link encap:Ethernet HWaddr 00:50:56:B3:6A:5E
inet6 addr: fe80::250:56ff:feb3:6a5e/64 Scope:Link
inet6 addr: fd00:1001:0:50:56:b3:6a:5e/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3300 (3.2 KiB) TX bytes:676 (676.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ifconfig -a is the same.
----------------------------------------
Bug #12556: ipv6 address facts
https://projects.puppetlabs.com/issues/12556#change-54495
Author: Jure Pecar
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version: 1.6.x
Keywords:
Branch:
Affected Facter version: 1.6.4
Consider the following interfaces and addresses:
# ip a l
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
UNKNOWN qlen 1000
link/ether 00:50:56:b3:6a:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.140.1/17 brd 192.168.255.255 scope global eth0
inet6 fe80::250:56ff:feb3:6a5d/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 00:50:56:b3:6a:5e brd ff:ff:ff:ff:ff:ff
inet6 fd00:1001:0:50:56:b3:6a:5e/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:feb3:6a5e/64 scope link
valid_lft forever preferred_lft forever
Now see what facter produces:
# facter | grep addr
ipaddress => 192.168.140.1
ipaddress6 => fd00:1001:0:50:56:b3:6a:5e
ipaddress_eth0 => 192.168.140.1
ipaddress_lo => 127.0.0.1
macaddress => 00:50:56:B3:6A:5D
macaddress_eth0 => 00:50:56:B3:6A:5D
macaddress_eth1 => 00:50:56:B3:6A:5E
I would expect to see a global ipaddress6 being specified for each v6 enabled
interface (ipaddress6_eth1 in my case), but this is not the case.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.