set log level for cdist config based on env vars

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/fix-j
Steven Armstrong 8 years ago
parent 1627b58cfc
commit c740c96890
  1. 5
      cdist/conf/type/__install_config/gencode-local

@ -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…
Cancel
Save