adding hostgroup definition