begin move of cdist-type-emulator to lib/ and submit initial_manifest to cdist

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent 97f7513f6e
commit d6db6d0c7e
  1. 3
      bin/cdist
  2. 0
      lib/cdist-type-emulator

@ -32,6 +32,7 @@ import tempfile
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
CONF_DIR = os.path.join(BASE_DIR, "conf")
GLOBAL_EXPLORER_DIR = os.path.join(CONF_DIR, "explorer")
LIB_DIR = os.path.join(BASE_DIR, "lib")
MANIFEST_DIR = os.path.join(CONF_DIR, "manifest")
REMOTE_BASE_DIR = "/var/lib/cdist"
@ -220,7 +221,7 @@ if __name__ == "__main__":
log.debug(args)
for host in args.host:
c = Cdist(host)
c = Cdist(host, initial_manifest=args.manifest)
c.deploy_to()
c.cleanup()
except KeyboardInterrupt:

Loading…
Cancel
Save