Werk #14602: cmk-update-agent: Use configured var directory

Component Agent bakery
Title cmk-update-agent: Use configured var directory
Date Jul 18, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p8 Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p28 Checkmk Enterprise (CEE), Checkmk MSP (CME)

The agent updater used to use the fixed directory var/lib/check_mk_agent/ to unpack its CA certificates regardless of what was configured in the rule "Installation paths for agent files"

Technically spoken, this means that the agent updater now respects the MK_VARDIR environment variable.

To the list of all Werks