3ofcoins/chef-cookbook-hostname — pull request #1 by guilhem (2012-10-29 10:37:27+00:00)
Title: Use hostsfile cookbook to manipulate the /etc/hosts file.

and also :
* 127.0.0.1 must be localhost
* 127.0.1.1 have fqdn and hostname
* use chef notification instead of a variable flag