use the resolveHosts role to allow nodes to resolve other nodes by name. conifugre the dependenices for resolveHosts to use the role etcHosts if you would like to put all hosts in /etc/hosts or create a new role for a dnsclient if you would prefer