Two changes, one added override for hostname - should default to a variable set on most systems of HOSTNAME.  Second, search for the node name, don't assume it's rabbit@<node_name>