fixes #3178 - add feature for compute profiles for hostgroups and hosts