Re: [Puppet Users] Re: can we choose which inteface defines the $ipaddress fact?

2011-02-13 Thread Daniel Pittman
On Wed, Feb 9, 2011 at 08:41, Klaus Ethgen klaus+pup...@ethgen.de wrote: Sorry for jumping in late to this discussion, but: To answer the original query, is it possible to change which IP address is used?: No, it is not possible, because this is a daft fact that *claims* to deliver something

Re: [Puppet Users] Re: can we choose which inteface defines the $ipaddress fact?

2011-02-09 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hmm.. I had similar problem without solving it the elegant way until now. But how about the following algorithm: - - Check which interface has the default routing - - If no default routing take the first one Regards Klaus - -- Klaus Ethgen

Re: [Puppet Users] Re: can we choose which inteface defines the $ipaddress fact?

2011-02-08 Thread Patrick
On Feb 8, 2011, at 12:19 PM, Brian wrote: On Feb 7, 9:14 pm, Gabriel Filion lelu...@gmail.com wrote: In all cases, the interface with an internal IP comes up higher in the output of ifconfig, and this makes the fact ipaddress take it as its value. Is there a way to force facter to chose a