add hostname_method as a attribute

Expose hostname_method as an attribute and in diamond.conf.erb
if this attr is not set, whats the default?