Cody Herriges wrote:
> On Jun 16, 2010, at 8:32 PM, Daniel Pittman wrote:
> 
>> Cody Herriges <[email protected]> writes:
>> 
>>> My preliminary work on a new fact that reports IPv6 addresses.
>> It looks like this reports *an* IPv6 address, not multiple IPv6
>> addresses, even though every adapter / host has at least one, and
>> ofter multiple, these days.  You should report all the addresses,
>> link-local included, I would suggest.  That obviously applies to
>> all the implementations. :)
> 
> Isn't this the job more of something like lib/facter/util/ip.rb.
> Dynamically generating the facts based on how many addresses are
> associated with an interface would remove the ability to run `facter
> ipaddress6` and get anything returned.  Patching ip.rb is on my list
> of things todo so that multiple interface and address facts are/will
> be generated.

I agree - we've maintained the "legacy" ipaddress fact because so many
people use it - even though we've had the additional logic in ip.rb.

I would expect it makes sense to continue this model until we refactor
Facter.

Regards

James

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to