opscode-cookbooks/rabbitmq — pull request #80 by tacchino (2013-08-30 17:00:16+00:00)
Title: strip whitespace from read of existing erlang cookie

File.read of the existing erlang cookie was leaving a carriage return at the end of the cookie value resulting in the downstream stop of the server incorrectly triggering but then not restarting since the file would not actually change

if node['rabbitmq']['cluster'] && (node['rabbitmq']['erlang_cookie'] != existing_erlang_key)