New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
monit - invoke run_command passing list #3821
Conversation
@russoz thanks for the contribution. Can you update the description to indicate why the change is beneficial. Also the tests need to be updated. |
The I have been changing the modules in c.g. to use a list as the first Hope that clarifies it, but I will be happy to assist further if needed. Yes, I have to fix the tests: I recall having runnning them locally and working, but most likely I didn't. I have submitted a handful of similar tickets, one for each module, it's easy to have missed something. Thanks for being on top of it: that was the first time a module owner replied a PR in less than 10min of me submitting it. :-) |
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #3832 🤖 @patchback |
@russoz thanks again! |
* monit - invoke run_command passing list * added changelog fragment * fixed unit test * further adjustments * fixed handling of command_args * better handling of command_args (cherry picked from commit 52d4907)
* monit - invoke run_command passing list * added changelog fragment * fixed unit test * further adjustments * fixed handling of command_args * better handling of command_args (cherry picked from commit 52d4907) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
Passing command as list instead of as string.
ISSUE TYPE
COMPONENT NAME
plugins/modules/monitoring/monit.py