forked from ungleich-public/cdist
cleanup, -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
97ab2066d4
commit
241548c6ec
2 changed files with 1 additions and 10 deletions
|
@ -68,13 +68,11 @@ while [ "$__cdist_new_objects_created" = "y" ]; do
|
||||||
echo "Executing manifest ${__cdist_manifest} ..."
|
echo "Executing manifest ${__cdist_manifest} ..."
|
||||||
|
|
||||||
# Make variables available to non-core
|
# Make variables available to non-core
|
||||||
set -x
|
|
||||||
export $__cdist_name_var_object="$__cdist_cur_object_dir"
|
export $__cdist_name_var_object="$__cdist_cur_object_dir"
|
||||||
export $__cdist_name_var_object_id="$__cdist_object_id"
|
export $__cdist_name_var_object_id="$__cdist_object_id"
|
||||||
set +x
|
|
||||||
|
|
||||||
cdist-manifest-run "$__cdist_target_host" "$__cdist_manifest" \
|
cdist-manifest-run "$__cdist_target_host" "$__cdist_manifest" \
|
||||||
"$__cdist_new_objects_dir" "$__cdist_object_id"
|
"$__cdist_new_objects_dir"
|
||||||
|
|
||||||
__cdist_object_list "${__cdist_new_objects_dir}" > "$__cdist_new_objects_list"
|
__cdist_object_list "${__cdist_new_objects_dir}" > "$__cdist_new_objects_list"
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,6 @@
|
||||||
echo "Running initial manifest for $__target_host"
|
echo "Running initial manifest for $__target_host"
|
||||||
echo "We could access other manifests in $__manifests"
|
echo "We could access other manifests in $__manifests"
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# All systems get a file /etc/cdist-managed, so the sysadmin knows
|
|
||||||
# who manages the configuration.
|
|
||||||
#__file /etc/cdist-managed --type file
|
|
||||||
|
|
||||||
# All ikqs get a sample file
|
|
||||||
case "$__target_host" in
|
case "$__target_host" in
|
||||||
localhost)
|
localhost)
|
||||||
__issue iddoesnotmatterhere
|
__issue iddoesnotmatterhere
|
||||||
|
|
Loading…
Reference in a new issue