Project

General

Profile

Bug #2124

dont include missing hostgroup classes when host is not in the same environment

Added by Ohad Levy over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
External Nodes
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

when a host and hostgroup disagree on an environment, and the host current class does not include all hostgroup classes, foreman should not include the missing classes from the hostgroup.

Associated revisions

Revision fd30481b (diff)
Added by Ohad Levy over 9 years ago

fixes #2124 - only include classes from the host current environment.

This patch introduce a new setting, which decide how would foreman
address a mismatch between host and hostgruop environments.

for example, when puppet 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).

History

#1 Updated by Ohad Levy over 9 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#2 Updated by Ohad Levy over 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF