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 > <alexeydemi...@gmail.com> 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` output to get list of > > interface names and because of truncation it generates `interfaces` > > fact with incorrect interface names. Also it fails to retrieve > > individual interface information with following message for > > each interface with name "myinterface": > > > > Device "myinterfa" does not exist. > > myinterfa: error fetching interface information: Device not found > > > > [1]: https://bugs.gentoo.org/show_bug.cgi?id=179920 -- Alex L. Demidov (ALD9-RIPE). http://alexeydemidov.com/ Freelance Consulting. -- 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.