deployotron
deployotron copied to clipboard
Refactor action strings
There seem to be a lot of nearly duplicated stings for an action:
- Description
- Shortname
- Run message
- Killswitch
- Error message
See for example Apache2 restart.
I think it would be nice it these could be simplified but generating default from a single text-string and then allowing individual actions to override them if necessary.
Trying to avoid having stiff generic messages is much the culpit here.
There is some room for improvement though.