On Fri, Feb 3, 2012 at 04:05, Jure Pečar <jure.pe...@gmail.com> wrote:

> 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.
>
> facter-1.6.4-1.el6.noarch on rhel6.
>
> I'm only few days into ruby, but as I read the code, it should work as I 
> expect.
>
> Any ideas why I see what I see?

Off-hand, no.  Can you file a bug report, including these details, at
http://projects.puppetlabs.com/projects/facter/issues

That way we won't lose track of this, and can figure out what is going wrong.

Thanks

-- 
Daniel Pittman
⎋ Puppet Labs Developer – http://puppetlabs.com
♲ Made with 100 percent post-consumer electrons

-- 
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.

Reply via email to