add half backed code for new object-run ideas

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-28 10:00:22 +02:00
parent 3d87f3f19a
commit 4687d32771
2 changed files with 6 additions and 1 deletions

View file

@ -49,7 +49,7 @@ cdist-dir push "$__cdist_target_host" "${__cdist_abs_mydir}" "${__cdist_remote_b
cdist-explorer-run-global "$__cdist_target_host" cdist-explorer-run-global "$__cdist_target_host"
cdist-manifest-run-init "$__cdist_target_host" cdist-manifest-run-init "$__cdist_target_host"
cdist-manifest-run-all "$__cdist_target_host" #cdist-manifest-run-all "$__cdist_target_host"
cdist-object-run-all "$__cdist_target_host" cdist-object-run-all "$__cdist_target_host"
echo "cdist $__cdist_version: Successfully finished run on $__cdist_target_host" echo "cdist $__cdist_version: Successfully finished run on $__cdist_target_host"

View file

@ -48,6 +48,8 @@ done < "$__cdist_objects"
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
__cdist_object="$1"; shift __cdist_object="$1"; shift
echo
echo "Running object $__cdist_object"
__cdist_type="$(__cdist_type_from_object "$__cdist_object")" __cdist_type="$(__cdist_type_from_object "$__cdist_object")"
@ -67,6 +69,9 @@ while [ $# -gt 0 ]; do
fi fi
# Run the manifest for the current object
cdist-object-manifest-run "$__cdist_target_host" "$__cdist_object"
# Run the gencode scripts for the current object # Run the gencode scripts for the current object
cdist-object-gencode-run "$__cdist_target_host" "$__cdist_object" cdist-object-gencode-run "$__cdist_target_host" "$__cdist_object"