remote cdist.path, use base_dir

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 13:36:51 +02:00
parent f121934769
commit ca5361afc1
3 changed files with 3 additions and 5 deletions

View file

@ -42,7 +42,7 @@ def config(args):
os.environ['__remote_copy'] = "scp -o User=root -q"
for host in args.host:
c = Config(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug)
c = Config(host, initial_manifest=args.manifest, base_dir=args.cdist_home, debug=args.debug)
if args.parallel:
log.debug("Creating child process for %s", host)
process[host] = multiprocessing.Process(target=c.deploy_and_cleanup)

View file

@ -25,10 +25,9 @@ import os
import stat
import sys
import cdist.emulator
import cdist.path
import cdist.context
import cdist.core
import cdist.emulator
log = logging.getLogger(__name__)

View file

@ -24,7 +24,6 @@ import logging
import os
import cdist
import cdist.path
log = logging.getLogger(__name__)