Werk #16887: mk_job: MK_VARDIR defaults not being set in bakery

Komponente Checks & agents
Titel mk_job: MK_VARDIR defaults not being set in bakery
Datum 26.07.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p32 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Due to a different way to set in MK_VARDIR in mk_job, default values would not be baked into mk_job and derivates. This change adds a replacement rule for the way MK_VARDIR gets assigned in mk_job and also separates assignment and export in order to avoid known problems with Solaris.

Zur Liste aller Werks