Project

General

Profile

Bug #1191

Nested hostgroup duplicated classes

Added by Romain Vrignaud almost 8 years ago. Updated over 7 years ago.

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

Description

When I edit an existing hostgroup and I add a parent relationship with an other hostgroup ,
if a class is included in the two hostgroup, the class is not deduplicated.

It would be nice to remove automaticaly class including in child hostgroup.

Thx in advance.

Associated revisions

Revision 50541c05 (diff)
Added by Ohad Levy over 7 years ago

fixes #1191 - removes duplicated classes when nesting hostgroups

History

#1 Updated by Ohad Levy almost 8 years ago

should this happen automatically? while its probably easy to implement, I was not sure if this would raise any confusion?

#2 Updated by Romain Vrignaud almost 8 years ago

edit : It would be nice to remove automaticaly class includED in child hostgroup.

I don't see where could be the confusion. This would be the more logical because affecting 2 times a class is a puppet non-sense.

It would make transition to former hostgroup management to nested hostgroup much much easier.

#3 Updated by Ohad Levy over 7 years ago

  • Assignee set to Ohad Levy
  • Target version set to 1.0

#4 Updated by Ohad Levy over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF