From 5ba6e0bb142edf0f0fc54c9eedcf0a4a933f2355 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 12 Sep 2011 01:38:51 +0200 Subject: [PATCH] more hints on parallel running Signed-off-by: Nico Schottelius --- bin/cdist | 3 ++- doc/dev/todo/niconext | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/cdist b/bin/cdist index c50775f8..f8500ca7 100755 --- a/bin/cdist +++ b/bin/cdist @@ -618,10 +618,11 @@ if __name__ == "__main__": process = {} time_start = datetime.datetime.now() try: + log.info("Deploying to %s hosts", len(args.host)) for host in args.host: c = Cdist(host, initial_manifest=args.manifest, home=args.cdist_home) if args.parallel: - log.info("Starting child process for %s", host) + log.debug("Starting child process for %s", host) process[host] = multiprocessing.Process(target=c.deploy_and_cleanup) process[host].start() log.debug("After process for %s", host) diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index 3968b0ef..2321bf03 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -1,4 +1,6 @@ - Remove all FIXME entries +- Support parallel execution + - and maximum number of parallel runs (-p X) - Write cdist-manpage - Remove obsolete manpages - Support different home instead of ../