Werk #11895: omd_info: only create host label 'cmk/check_mk_server:yes' if sites are present

Component Checks & Agents
Title omd_info: only create host label 'cmk/check_mk_server:yes' if sites are present
Date Jan 20, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0b5 1.6.0p21
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the host label 'cmk/check_mk_server:yes' was set whenever `omd` was in the path. This a bit too general. We now only set the label, if at least one site is present.

To the list of all Werks