forked from ungleich-public/cdist
enable debugging before catching unset variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
86e30c7a8a
commit
4440838650
2 changed files with 5 additions and 9 deletions
|
@ -21,15 +21,15 @@
|
||||||
|
|
||||||
__cdist_version="1.8.0"
|
__cdist_version="1.8.0"
|
||||||
|
|
||||||
|
# Enable debugging
|
||||||
|
[ "$__cdist_debug" ] && set -x
|
||||||
|
|
||||||
# Fail if something bogus is going on
|
# Fail if something bogus is going on
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
# Fail if exited non-zero as well
|
# Fail if exited non-zero as well
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# enable debugging
|
|
||||||
[ "$__cdist_debug" ] && set -x
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# cconf standard vars prefixed with cdist
|
# cconf standard vars prefixed with cdist
|
||||||
|
|
||||||
|
|
|
@ -33,13 +33,9 @@ __cdist_object_all_object_all()
|
||||||
# Ensure object dir exists, so marker can be created
|
# Ensure object dir exists, so marker can be created
|
||||||
mkdir -p "${__cdist_out_object_dir}"
|
mkdir -p "${__cdist_out_object_dir}"
|
||||||
|
|
||||||
BUG:
|
# FIXME: : - why do we use a file?
|
||||||
- where does $__cdist_objects_created get setup?
|
# core/__cdist_object_manifest_run: touch "$__cdist_objects_created"
|
||||||
- why do we use a file?
|
|
||||||
core/__cdist_object_manifest_run: touch "$__cdist_objects_created"
|
|
||||||
|
|
||||||
|
|
||||||
exit 23
|
|
||||||
# Loop until we do not create new objects anymore
|
# Loop until we do not create new objects anymore
|
||||||
# which is equal to all objects have been run
|
# which is equal to all objects have been run
|
||||||
touch "$__cdist_objects_created"
|
touch "$__cdist_objects_created"
|
||||||
|
|
Loading…
Reference in a new issue