Issue #21141 has been updated by Andre Nathan.
Jay Wallace wrote:
> What version does this apply to? OS? Any additional information you can
> provide will be very helpful in remediating this.
I'm testing this in Ubuntu 12.04, with the stock facter and also the latest
version from git:
$ ifconfig eth0 | grep inet6
inet6 addr: 2804:aaaa:bbbb:cccc::dddd/48 Scope:Global
inet6 addr: fe80::21e:67ff:fe2c:44f4/64 Scope:Link
$ ifconfig eth1 | grep inet6
inet6 addr: fd77:f3e2:38a5:7::241f/48 Scope:Global
inet6 addr: fe80::21e:67ff:fe2c:44f5/64 Scope:Link
inet6 addr: fd77:f3e2:38a5::2/128 Scope:Global
$ facter -version
1.6.5
$ facter | grep ipaddress6
ipaddress6 => fd77:f3e2:38a5::2
ipaddress6_eth0 => 2804:aaaa:bbbb:cccc::dddd
$ cd git/facter
$ ruby -Ilib ./bin/facter | grep ipaddress6
Error: undefined method `get_interfaces' for Facter::Util::IP:Class
(does not facter work with 1.8 anymore?)
$ ruby1.9.3 -Ilib ./bin/facter | grep ipaddress6
ipaddress6 => fd77:f3e2:38a5::2
ipaddress6_eth0 => 2804:aaaa:bbbb:cccc::dddd
As you can see there is no ipaddress_eth1 fact.
----------------------------------------
Bug #21141: IPv6 inconsistency
https://projects.puppetlabs.com/issues/21141#change-94763
* Author: Andre Nathan
* Status: Needs More Information
* Priority: High
* Assignee: Andre Nathan
* Category:
* Target version:
* Keywords: ipv6
* Branch:
* Affected Facter version:
----------------------------------------
The IPv6 address facts are inconsistent: not all interfaces get a
ipaddress6_<interface> fact. In my case I have eth0 and eth1, both with IP
addresses, but facter creates facts "ipaddress6_eth0" and "ipaddress6" (with
eth1's address). There should be an "ipaddress_eth1" fact too.
If I add a second IPv6 address to an interface the behavior is even more
unclear. If I add an address to eth0, now "ipaddress6" has one of them and
"ipaddress6_eth0" has the other, and no fact has the eth1 address!
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.