have conf/ and out/ locally, similar to the remote side

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 19:11:45 +01:00
parent 957ab446fa
commit c98b84ba4b

View file

@ -31,8 +31,14 @@ __cdist_target_host="$1"
# See cdist-stages(7)
#
# Init base
mkdir -p "$__cdist_local_base_dir"
# Link configuration source directory - consistent with remote
ln -sf "$__cdist_conf_dir" "$__cdist_local_base_dir/$__cdist_name_conf_dir"
# Transfer cdist "binaries"
cdist-bin-transfer "$__cdist_target_host" "${__cdist_remote_bin_dir}"
cdist-bin-transfer "$__cdist_target_host" "$__cdist_remote_bin_dir"
# Execute explorer
cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorer_dir"