Bug #2231
closedHostgroup deletion follows adoption policy
Description
Given a hostgroup hierarchy like:
/base
/base/test01
/base/test01/test02
/base/test01/test03
Currently, if /base/test01 is deleted, it leads to a clunky configuration
/base
/test02
/test03
This change makes a hostgroup adopt orphans so that removing test01 would lead to:
/base
/base/test02
/base/test03
Updated by Daniel Lobato Garcia about 11 years ago
- Description updated (diff)
Given a hostgroup hierarchy like:
/base
/base/test01
/base/test01/test02
/base/test01/test03
Currently, if /base/test01 is deleted, it leads to a clunky configuration
/base
/test02
/test03
In addition to that, it might lead to having several hostgroups with the same name:
/base
/test/base
If test is deleted, we would end up with
/base
/base
This change restricts hostgroup deletion only to hostgroups who have no children so that the problems above can be avoided.
Updated by Dominic Cleal about 11 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.4.0
Updated by Dominic Cleal about 11 years ago
- Target version changed from 1.15.0 to 1.10.0
Updated by Dominic Cleal about 11 years ago
- Target version changed from 1.10.0 to 1.9.3
Updated by Anonymous almost 11 years ago
- Target version changed from 1.9.3 to 1.9.2
Updated by Dominic Cleal almost 11 years ago
- Assignee set to Daniel Lobato Garcia
- Translation missing: en.field_release set to 2
Updated by Daniel Lobato Garcia almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8c68024ac619121312680ee8afc467857155e71d.