remove obsolete output from cdist-manifest-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9ba61ac044
commit
2d00e9d869
1 changed files with 1 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
. cdist-config
|
. cdist-config
|
||||||
[ $# -eq 3 ] || __cdist_usage "<target host> <manifest> <out object dir>"
|
[ $# -eq 2 ] || __cdist_usage "<target host> <manifest>"
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
__cdist_target_host="$1"; shift
|
__cdist_target_host="$1"; shift
|
||||||
|
@ -33,10 +33,6 @@ __cdist_manifest="$1"; shift
|
||||||
# Export information for cdist-type-emulator or manifest
|
# Export information for cdist-type-emulator or manifest
|
||||||
#
|
#
|
||||||
|
|
||||||
# This is a special variable, as being used by __cdist_object_dir
|
|
||||||
# We need to adjust it, so cdist-type-emulator writes to the right location
|
|
||||||
export __cdist_out_object_dir="$1"; shift
|
|
||||||
|
|
||||||
# Config dir should not get reset - FIXME: why did I do this?
|
# Config dir should not get reset - FIXME: why did I do this?
|
||||||
export __cdist_conf_dir
|
export __cdist_conf_dir
|
||||||
|
|
||||||
|
@ -62,7 +58,5 @@ export PATH="${__cdist_out_type_bin_dir}:$PATH"
|
||||||
|| __cdist_exit_err "Missing manifest ${__cdist_manifest}"
|
|| __cdist_exit_err "Missing manifest ${__cdist_manifest}"
|
||||||
[ -x "${__cdist_manifest}" ] \
|
[ -x "${__cdist_manifest}" ] \
|
||||||
|| __cdist_exit_err "${__cdist_manifest} needs to be executable."
|
|| __cdist_exit_err "${__cdist_manifest} needs to be executable."
|
||||||
mkdir -p "${__cdist_out_object_dir}" \
|
|
||||||
|| __cdist_exit_err "Cannot create output dir ${__cdist_out_object_dir}"
|
|
||||||
|
|
||||||
__cdist_exec_fail_on_error "${__cdist_manifest}"
|
__cdist_exec_fail_on_error "${__cdist_manifest}"
|
||||||
|
|
Loading…
Reference in a new issue