Werk #14984: MKP manager commandline interface: Fix 'remove' and 'disable' commands

Komponente Checks & agents
Titel MKP manager commandline interface: Fix 'remove' and 'disable' commands
Datum 18.11.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p31 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The mkp remove command (or cmk -P remove) has been fixed to reflect the recent changes in the GUI. You can only remove disabled packages.

The 'disable' command to do this was intruced with 2.0.0p30, but defunct. It is now fixed.

Since you can have different versions of the same package uploaded, you have to specify the version as well now:

mkp remove NAME VERSION

Zur Liste aller Werks