Use node.name instead of node[:hostname] and node[:fqdn]