Werk #17906: Custom files deployed incorrectly under Windows

Component Agent bakery
Title Custom files deployed incorrectly under Windows
Date May 14, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p2 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This Werk fixes a regression that occurs since Checkmk 2.4.0.

When deploying custom files with the ruleset Deploy custom files with agent, the agent bakery resolved all logical paths directly to the Windows agent installation directory.

The correct behavior is to place all files under the logical path lib to the installation directory, while creating all other logical paths with files under it as placed on the Checkmk site.

Please refer to the Deploy custom fules with agent ruleset help for details about logical paths and target directories in the final agent installation.

To the list of all Werks