Werk #14735: Agent Bakery: Cleanup orphaned packages

Komponente Agent bakery
Titel Agent Bakery: Cleanup orphaned packages
Datum 02.09.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p12 Checkmk Enterprise (CEE), Checkmk MSP (CME)

When narrowing down packages using the "Agent bakery packages" agent ruleset, it may happen that a host is assigned to two different agent packages after baking.

This may happen when you start using the abovementioned rule. On baking, this will result in a new agent package for the matched hosts. If nothing else happens to the package that the hosts were assigned to previously, the now-unselected platforms will remain for the previous package.

As they are explicitly unwanted by setting the rule, these orphaned packages are now cleaned up.

Zur Liste aller Werks