Project

General

Profile

Bug #5246

Puppet classes on config groups aren't added to host's ENC YAML output

Added by Dominic Cleal over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Add a config group with a Puppet class assigned, then assign the config group to a host. Provided the parameterised ENC is enabled, view the ENC YAML output from the host page and the new classes won't be listed.

It appears that the Classification::ClassParam / Base implementations have their own way of getting the puppetclass_ids for a host and its host group, without checking for config groups too.

Associated revisions

Revision 46b3d8f1 (diff)
Added by Dominic Cleal over 5 years ago

fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output

Revision 3e5ee0a6 (diff)
Added by Dominic Cleal about 5 years ago

fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output

(cherry picked from commit 46b3d8f1f5dff70b961266232f0041beabea8e0d)

History

#1 Updated by Dominic Cleal over 5 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal over 5 years ago

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

Also available in: Atom PDF