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

Component Checks & agents
Title MKP manager commandline interface: Fix 'remove' and 'disable' commands
Date Nov 18, 2022
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
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

To the list of all Werks