|
|
|
@ -613,10 +613,9 @@ def config(args): |
|
|
|
|
for host in args.host: |
|
|
|
|
c = Cdist(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug) |
|
|
|
|
if args.parallel: |
|
|
|
|
log.debug("Starting child process for %s", host) |
|
|
|
|
log.debug("Creating child process for %s", host) |
|
|
|
|
process[host] = multiprocessing.Process(target=c.deploy_and_cleanup) |
|
|
|
|
process[host].start() |
|
|
|
|
log.debug("After process for %s", host) |
|
|
|
|
else: |
|
|
|
|
c.deploy_and_cleanup() |
|
|
|
|
|
|
|
|
|