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 specific interface for the
> ipaddress value?

I feel your pain! I have two facts, ipaddress_public and
ipaddress_private, that I defined to work around this.

http://polibyte.com/blog/getting_ip_addresses_with_facter

All the best,
Brian Pitts

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

Reply via email to