Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-21 Thread Adrien Thebo
Looking at the gentoo response in the ticket, the decision to maintain the interface truncation looks pretty final. Regardless of this, supporting iproute2 should be a priority, since I've heard of minimal arch installs that don't include net-tools at all and we can expect the trend towards iproute

Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-20 Thread Matthew Marlowe
All, I put in a request to have the gentoo bug reopened and see if we can apply the same patch that the other distributions used. Thanks, Matt On Tue, Sep 20, 2011 at 11:16 AM, Alex L. Demidov wrote: > On Tue, Sep 20, 2011 at 06:50:25PM +0100, Ken Barber wrote: >> I think this gives a little we

Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-20 Thread Alex L. Demidov
On Tue, Sep 20, 2011 at 06:50:25PM +0100, Ken Barber wrote: > I think this gives a little weight to this ticket for Facter then: > > http://projects.puppetlabs.com/issues/1346 > > Although - I don't see a 9 char limitation on Debian Wheezy. Not sure > where that patch came from though. I wonder h

Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-20 Thread Ken Barber
I think this gives a little weight to this ticket for Facter then: http://projects.puppetlabs.com/issues/1346 Although - I don't see a 9 char limitation on Debian Wheezy. Not sure where that patch came from though. I wonder how many other distros suffer from this. Of slightly related interest -

Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-20 Thread Alex L. Demidov
On Tue, Sep 20, 2011 at 06:24:40PM +0100, Ken Barber wrote: > Hi Alex, > > What happens when you run 'ip addr list' instead? It shows interface names properly and not truncated. > > ken. > > On Tue, Sep 20, 2011 at 6:20 PM, Alex L. Demidov > wrote: > > I have Gentoo host where `ifconfig -a` p

Re: [Puppet Users] facter fails to detect network interfaces with long names

2011-09-20 Thread Ken Barber
Hi Alex, What happens when you run 'ip addr list' instead? ken. On Tue, Sep 20, 2011 at 6:20 PM, Alex L. Demidov wrote: > I have Gentoo host where `ifconfig -a` prints long interface names > truncated to 9 chars (there is closed bug report [1]). > > Unfortunately, `facter` uses `ifconfig -a` ou