fixes #3178 - add feature for compute profiles for hostgroup and host