need a way to distinguish between install-config and normal config

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/4.8
Steven Armstrong 7 years ago
parent 60eba42141
commit 999f221c88
  1. 3
      cdist/conf/type/__install_config/gencode-local

@ -1,6 +1,6 @@
#!/bin/sh -e
#
# 2011-2017 Steven Armstrong (steven-cdist at armstrong.cc)
# 2011-2018 Steven Armstrong (steven-cdist at armstrong.cc)
#
# This file is part of cdist.
#
@ -23,6 +23,7 @@ remote_exec="$__type/files/remote/exec"
remote_copy="$__type/files/remote/copy"
cat << DONE
export __cdist_install_config=yes
export __cdist_log_level=$__cdist_log_level
export __default_remote_exec="$__remote_exec"
export __default_remote_copy="$__remote_copy"

Loading…
Cancel
Save