++logs and migrate context -> local

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-08-19 00:33:58 +02:00
commit f79727559a
5 changed files with 55 additions and 54 deletions

View file

@ -43,9 +43,9 @@ class Remote(object):
Directly accessing the remote side from python code is a bug.
"""
def __init__(self, target_host, remote_base_path, remote_exec, remote_copy):
def __init__(self, target_host, remote_exec, remote_copy):
self.target_host = target_host
self.base_path = remote_base_path
self.base_path = os.environ.get('__cdist_remote_out_dir', "/var/lib/cdist")
self._exec = remote_exec
self._copy = remote_copy