Browse Source

Make local state dir available to custom remote scripts

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
feature/type-relationship-graph
Steven Armstrong 1 year ago
parent
commit
ea0126dd81
  1. 3
      cdist/config.py

3
cdist/config.py vendored

@ -420,6 +420,9 @@ class Config:
exec_path=sys.argv[0],
save_output_streams=args.save_output_streams)
# Make __global state dir available to custom remote scripts.
os.environ['__global'] = local.base_path
remote = cdist.exec.remote.Remote(
target_host=target_host,
remote_exec=remote_exec,

Loading…
Cancel
Save