inherit log level from cdist install during nested cdist config

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2017-08-24 14:43:26 +02:00
parent f368539447
commit 4851c0517f

View file

@ -23,8 +23,20 @@ remote_exec="$__type/files/remote/exec"
remote_copy="$__type/files/remote/copy" remote_copy="$__type/files/remote/copy"
cdist_args="" cdist_args=""
[ "$__verbose" = "yes" ] && cdist_args="-vv" case "$__cdist_loglevel" in
[ "$__debug" = "yes" ] && cdist_args="-d" 20)
cdist_args="-v"
;;
15)
cdist_args="-vv"
;;
10)
cdist_args="-vvv"
;;
5)
cdist_args="-vvvv"
;;
esac
cat << DONE cat << DONE
cdist config \ cdist config \