Add a hostname attribute

The hostname attributes defaults to node['fqdn'] but allows you to
redefine it if you have the need.