Issue #1345 has been updated by jamtur01.

Status changed from Unreviewed to Ready for Checkin
Target version set to 1.5.0
Keywords set to ipaddress netmask NetBSD BSD interfaces alias
Complexity changed from Unknown to Easy
Patch changed from None to Code

Partial fix for #1345 pushed in 
commit:"9581190fc6164ae9a4828088966fc711931ecad1" in branch master.
----------------------------------------
Bug #1345: facter 1.5.0rc1 does not correctly handle  BSD-style interface 
aliases
http://reductivelabs.com/redmine/issues/show/1345

Author: mcbride
Status: Ready for Checkin
Priority: Normal
Assigned to: luke
Category: library
Target version: 1.5.0
Keywords: ipaddress netmask NetBSD BSD interfaces alias
Complexity: Easy
Patch: Code


Facter returns the last interface alias for an interface rather than the 
primary address, or better yet, all the addresses on that interface:


ipaddress_udav0 => 192.168.0.12
netmask_udav0 => 0xffffffff

On [[OpenBSD]] -current (but applies to previous versions and probably other 
BSD varients):

$ ifconfig udav0
udav0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0a:79:64:b4:09
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::20a:79ff:fe64:b409%udav0 prefixlen 64 scopeid 0x5
        inet 192.168.0.11 netmask 0xffffffff broadcast 192.168.0.11
        inet 192.168.0.12 netmask 0xffffffff broadcast 192.168.0.12


----------------------------------------
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://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to