hostsfile: ArgumentError: address family must be specified
Seems like d50445e caused a regression in calculate_priority. It now raises the exception: “ArgumentError: address family must be specified”. The culprit seems to be re-wrapping ip_address
ip_address = IPAddr.new("192.168.0.1")
IPAddr.new(ip_address, Socket::AF_UNSPEC)
Why are you trying to to re-wrap ip_address?
As a workaround, I’m specifying priority manually
ps. thanks for an otherwise great cookbook.
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 15 (6 by maintainers)
That ArgumentError is only raised if the
ip_addressis not a String…