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

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2018-04-05 10:32:33 +02:00
parent 60eba42141
commit 999f221c88

View file

@ -1,6 +1,6 @@
#!/bin/sh -e #!/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. # This file is part of cdist.
# #
@ -23,6 +23,7 @@ remote_exec="$__type/files/remote/exec"
remote_copy="$__type/files/remote/copy" remote_copy="$__type/files/remote/copy"
cat << DONE cat << DONE
export __cdist_install_config=yes
export __cdist_log_level=$__cdist_log_level export __cdist_log_level=$__cdist_log_level
export __default_remote_exec="$__remote_exec" export __default_remote_exec="$__remote_exec"
export __default_remote_copy="$__remote_copy" export __default_remote_copy="$__remote_copy"