New library method to get list of hostnames for a cb/recipe