Werk #16895: omd: curl wrapper not used for all supported versions of SLES and EL

Component Site management
Title omd: curl wrapper not used for all supported versions of SLES and EL
Date Sep 17, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Some OMD makefile rules have to be (de-)activated for certain versions of SLES or EL (Enterprise Linux), but would not respect all affected versions due to the redundant implementation of the check. This led to {{curl}} not being wrapped as needed for SLES15-SP3.

This change makes use of string prefixes rather than explicit listing of all supported versions of e.g. SLES15[-sp*], which fixes the mentioned issue and also takes care of future releases of SLES15 or EL based distros.

To the list of all Werks