fix support to adding puppet classes to a given host