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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/9Xpu5DvWYTEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
R.I.Pienaar
2012-May-17 13:39 UTC
Re: [Puppet Users] Puppet facter 1.6.8 and inet6 addresses
----- Original Message -----> From: "Christophe L" <cl.subscription@gmail.com> > To: puppet-users@googlegroups.com > Sent: Thursday, May 17, 2012 2:36:49 PM > Subject: [Puppet Users] Puppet facter 1.6.8 and inet6 addresses > > 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 ?Facter specifically do not report link local addresses. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.