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
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p17 2.0.0p31
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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