Project

General

Profile

Actions

Bug #2231

closed

Hostgroup deletion follows adoption policy

Added by Daniel Lobato Garcia about 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

https://github.com/theforeman/foreman/pull/419

Actions

Also available in: Atom PDF