def _add_automatic_attributes(node):
    node['fqdn'] = node['name']
    node['hostname'] = node['fqdn'].split('.')[0]
    node['domain'] = ".".join(node['fqdn'].split('.')[1:])
Adds some of Chef's automatic attributes:
dataset/ETHPy150Open tobami/littlechef/littlechef/chef.py/_add_automatic_attributes