Werk #11403: Improved versioning for baked agent packages

Komponente Agent Bakery
Titel Improved versioning for baked agent packages
Datum 20.10.2020
Checkmk-Editon Checkmk Enterprise (CEE)
Checkmk-Version 2.0.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Previously, when updating a baked agent via a package manager, you would eventually receive a warning about a downgrade of the Checkmk agent. The reason for this was the baked agent's version string, that was formed of Checkmk version and the agent's configuration hash, with the latter being quite random and thus confusing the package manager, that expects an increasing versioning. E.g. a version string could be 1.6.0p18.f123abcd before bake, and 1.6.0p18.1234cdef after bake.

This behavior is now fixed by introducing an internal bake revision, that increases on every newly baked package (per Checkmk version) and that's only purpose is to guarantee an increasing version string for the .rpm, .deb and .pkg packages (e.g. 1.6.0p18-1.f123abcd before bake, 1.6.0p18-2.1234cdef after bake). Please note that this revision won't be visible on the GUI or in the package's filenames, it only affects the package's metadata.

Zur Liste aller Werks