Closed lzap closed 6 years ago
There were the following issues with the commit message:
fixes #redmine_number - brief description
If you don't have a ticket number, please create an issue in Redmine.
More guidelines are available in Coding Standards or on the Foreman wiki.
This message was auto-generated by Foreman's prprocessor
I feel like this duplicates the last line, Some services failed to status: qpidd
. I'm not sure it should print both?
I did not want to break existing scripts which hooked into this.
What about making some of the output bold or a different colour? I dont feel like there's any benefit in printing the same info twice in different formats.
I see your problem as systemctl status foo prints too much information (e.g logs) and it's hard to read because this script calls so many services, forgive me if that's not accurate.
Maybe the solution is to create a katello.service unit that can replace this script or filter the systemctl status foo output ?
There were the following issues with the commit message:
fixes #redmine_number - brief description
fixes #redmine_number - brief description
If you don't have a ticket number, please create an issue in Redmine.
More guidelines are available in Coding Standards or on the Foreman wiki.
This message was auto-generated by Foreman's prprocessor
You know what, there is an exit code available, I removed the now useless messages. The list is pretty clear. Please squash before merge.
These packages and code have all moved to foreman-packaging rpm/develop
under a katello
subfolder. Please re-open your PR against it to ensure there is no data loss between the repositories. The code in this repository will be subsequently removed -- https://github.com/Katello/katello-packaging/pull/575
We do print "Done!" string when all operations (start|stop|status) were successful and "Some services failed" in other case, but particularly the successful operation is not easily visible and I tend to scroll up through unreadable output from systemd statuses.
This patch adds nicely formatted output which is clear and improves UX with this script: