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

Component Agent bakery
Title cmk-update-agent: Use configured var directory
Date Jul 18, 2022
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.2.0i1 2.1.0p8 2.0.0p28
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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