So I’ve been playing with sensuctl plugin a bit lately and I have a question.
To install the plugin it’s easy:
sensuctl command install cmd-name --url https://github.com/....cmd-name-v1.0.0.tar.gz --checksum ....
But later on I want to upgrade this command to version 2.0.0. How can I proceed?
I cannot just install the new version as it will tell me:
Error: the alias specified already exists
So I have to delete first, and then to install again.
Would it be feasible to have a flag when installing the command to say “delete if already present”, or something like this? It would be easier especially since I’m installing everything with our configuration management tool (saltstack in my case)