From ecc4fc10d73b8c56d2203e67803b3154a8a066f0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 6 Oct 2011 13:34:45 +0200 Subject: [PATCH] setup __remote_exec and __remote_copy variables Signed-off-by: Nico Schottelius --- lib/cdist/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cdist/config.py b/lib/cdist/config.py index 51615c28..43d4bf51 100644 --- a/lib/cdist/config.py +++ b/lib/cdist/config.py @@ -297,6 +297,9 @@ def config(args): time_start = datetime.datetime.now() + os.environ['__remote_exec'] = ["ssh", "-o", "User=root" ] + os.environ['__remote_copy'] = ["scp", "-o", "User=root" ] + for host in args.host: c = Config(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug) if args.parallel: