From 8c5a64cd92e73b1bb73f91eb698e76f8e6df0b7f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 22 Feb 2011 11:47:43 +0100 Subject: [PATCH] support manifest args in cdist-manifest-run Signed-off-by: Nico Schottelius --- bin/cdist-manifest-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist-manifest-run b/bin/cdist-manifest-run index 38cf9f1b..5d617444 100755 --- a/bin/cdist-manifest-run +++ b/bin/cdist-manifest-run @@ -23,7 +23,7 @@ # . cdist-config -[ $# -eq 3 ] || __cdist_usage " " +[ $# -ge 3 ] || __cdist_usage " [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}" "$@"