indent/+FIXME
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
790deb4645
commit
48a9309522
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue