logging utilities for specific formatting

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
be more verbose for logging to the terminal

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
creating a decorators module

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
catch and log back the new remote exception

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
do not close the connection when the exc is raised

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
raise if we cannot handle a remote exception

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
create a context manager to capture remote stderr stdout

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
remote_compile saves the exc and does not require the logger

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
move the try/except onto the subprocess wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
centos is now using the check_call wrapper

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
better argument order for check_call

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
create a generic remote function to execute them remotely

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
use the remote ctxt manager to handle everything

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
debian install fully converted

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
nicer API to do remote check_calls

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
centos fully working with the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
remove unused import

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
fedora adapated to work with the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
remove unused import

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
suse converted to use the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>