forked from ungleich-public/cdist
support manifest args in cdist-manifest-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
5dcb719844
commit
8c5a64cd92
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
#
|
||||
|
||||
. cdist-config
|
||||
[ $# -eq 3 ] || __cdist_usage "<target host> <manifest> <outdir>"
|
||||
[ $# -ge 3 ] || __cdist_usage "<target host> <manifest> <outdir> [manifest arguments]"
|
||||
set -u
|
||||
|
||||
export __cdist_target_host="$1"; shift
|
||||
|
@ -43,4 +43,4 @@ fi
|
|||
|
||||
mkdir -p "${__cdist_output_dir}" || __cdist_exit_err "Cannot create output dir ${__cdist_output_dir}"
|
||||
|
||||
__cdist_exec_fail_on_error "${__cdist_manifest}"
|
||||
__cdist_exec_fail_on_error "${__cdist_manifest}" "$@"
|
||||
|
|
Loading…
Reference in a new issue