theforeman/foreman — pull request #382 by ohadlevy (2013-01-21 10:06:44+00:00)
Title: fixes #2124 - only include classes from the host current environment.

When a has classes (directly or indirectly via hostgroups) that do not
belongs to the host current environment, they would silently removed from
the class list that foreman suggests as an ENC.

NOTE: this only effects the new ENC output (/w param classes).