basho/riak-chef-cookbook — pull request #17 by mitchellh (2012-02-22 00:16:19+00:00)
Title: Retry waiting for riak_kv.

For some reason, especially on new installs, the "wait-for-service"
command will sometimes just say "riak_kv is not up: []" even though
if you simply retry the command, it works instantly. The easy workaround
is to retry the block.