Issue #1346 has been updated by James Eckersall.

Hi,

I'd like to bump this issue if possible.  At the company I work, we don't 
really use alias interfaces at all - we add multiple ip's to the same interface.

In addition to this, we have a small number of boxes where we effectively 
cannot run Puppet due to the number of IP's.  We have ~500 alias interfaces and 
facter takes ~25 seconds to iterate through all these.  This causes puppet to 
timeout :(
I know 500 IP's is a fringe case, but I'm sure mine can't be the only case of 
this.

My related post on puppet-users group 
https://groups.google.com/forum/#!topic/puppet-users/3DuLHuXXMH0

J

----------------------------------------
Bug #1346: Using 'ip addr' over ifconfig
https://projects.puppetlabs.com/issues/1346#change-99710

* Author: Ian Christian
* Status: Code Insufficient
* Priority: Normal
* Assignee: 
* Category: library
* Target version: 2.x
* Keywords: 
* Branch: 
* Affected Facter version: 
----------------------------------------
<pre>
# facter
/usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb:85: command not found: 
/sbin/ifconfig -a
/usr/bin/facter:54: command not found: /sbin/ifconfig -a
/usr/bin/facter:54: command not found: dnsdomainname
/usr/bin/facter:54: command not found: domainname
/usr/bin/facter:54: command not found: /sbin/ifconfig
architecture => i386
domain => internal.HIDDEN
facterversion => 1.3.8
fqdn => ruby-test.internal.HIDDEN
hardwareisa => unknown
hardwaremodel => i686
hostname => ruby-test
id => root
ipaddress => 10.200.201.73
</pre>

It would be nice if when ifconfig can't be found, it falls back to using 'ip 
addr' (or the other way around) - also, notice that domainname and 
dnsdomainname are not present on this system - however facter does appear to 
get them correct regardless.



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

Reply via email to