avoid error when node['cloud']['public_ipv4'] is nil
allow hostgroup_name or host_name in service definitions