Additional configuration options for foreman-debug
I want to fully control the upload behavior of foreman-debug via the config file (foreman-debug.conf).
In particular I added the following variables to the script (and config file):
UPLOAD_URL, UPLOAD_CMD, UPLOAD_USAGE, UPLOAD_MSG_UNSET, UPLOAD_MSG_SUCCESS, UPLOAD_MSG_FAIL
With UPLOAD_URL it is possible to change the upload location via the config file.
With UPLOAD_CMD it is possible to use something other than rsync.
The others variables allow any and all upload related messages in the script to be overwritten.
Pull request will follow shortly.