do not allow to pass arguments to bin/cdist-manifest-run anymore - use env

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-24 15:23:36 +01:00
parent bfb1cee403
commit ce15edf4d6

View file

@ -23,8 +23,8 @@
#
. cdist-config
[ $# -ge 3 ] || __cdist_usage "<target host> <manifest> <out dir> [manifest arguments]"
set -ux
[ $# -eq 3 ] || __cdist_usage "<target host> <manifest> <out dir>"
set -u
__cdist_target_host="$1"; shift
__cdist_manifest="$1"; shift