From 48a9309522d4223c0ae8f91d6cfb08ac591e8086 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 9 Oct 2011 12:50:47 +0200 Subject: [PATCH] indent/+FIXME Signed-off-by: Nico Schottelius --- bin/cdist | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/cdist b/bin/cdist index c42e540c..61dad1db 100755 --- a/bin/cdist +++ b/bin/cdist @@ -114,11 +114,16 @@ def configinstall(args, mode): time_start = time.time() + # FIXME: do not overwrite, if set! os.environ['__remote_exec'] = "ssh -o User=root -q" os.environ['__remote_copy'] = "scp -o User=root -q" for host in args.host: - c = mode(host, initial_manifest=args.manifest, base_path=args.cdist_home, debug=args.debug) + c = mode(host, + initial_manifest=args.manifest, + base_path=args.cdist_home, + debug=args.debug, + parallel=True) if args.parallel: log.debug("Creating child process for %s", host) process[host] = multiprocessing.Process(target=c.deploy_and_cleanup)