forked from ungleich-public/cdist
set log level for cdist config based on env vars
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
1627b58cfc
commit
c740c96890
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ chroot="$(cat "$__object/parameter/chroot")"
|
|||
remote_exec="$__type/files/remote/exec"
|
||||
remote_copy="$__type/files/remote/copy"
|
||||
|
||||
cdist_args="-v"
|
||||
[ "$__debug" = "yes" ] && cdist_args="$cdist_args -d"
|
||||
cdist_args=""
|
||||
[ "$__verbose" = "yes" ] && cdist_args="-vv"
|
||||
[ "$__debug" = "yes" ] && cdist_args="-d"
|
||||
|
||||
cat << DONE
|
||||
cdist $cdist_args \
|
||||
|
|
Loading…
Reference in a new issue