opscode/chef — pull request #867 by sandello (2013-07-02 17:37:48+00:00)
Title: [CHEF-4337] Allow IPv6 addresses in chef_server_url

Due to improper usage of URI#host (in lieu of URI#hostname), chef-client was unable to connect to the server using direct IPv6 URI like "http://[::1]/".

This commit fixes the issue (CHEF-4337).

See http://bugs.ruby-lang.org/issues/3788 for more details.