Rename cookbook to 'hosts-fqdn', set attributes more consistently and with priorities for loopback.