Werk #16085: Agent Updater: Better detection of underlying platform

Component Agent bakery
Title Agent Updater: Better detection of underlying platform
Date Feb 21, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Previously, the agent updater used to detect the underlying platform, in terms of the combination of OS and package manager (e.g., Linux + RPM), automatically by scanning for certrain directories.

As multiple package managers may be available on one system, this sometimes lead to unexpected behavior on agent updates when the update mechanism decided to switch to a different platform.

Now, the platform will be specified by a file that comes with the agent installation, and the agent updater will rely on this static information instead of the dynamic detection.

To the list of all Werks