From 4687d32771316506396fb0214b6cdb073a4c1ad4 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 28 Mar 2011 10:00:22 +0200 Subject: [PATCH] add half backed code for new object-run ideas Signed-off-by: Steven Armstrong --- bin/cdist-deploy-to | 2 +- bin/cdist-object-run-all | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/cdist-deploy-to b/bin/cdist-deploy-to index 96b65e8b..c9aa1e2f 100755 --- a/bin/cdist-deploy-to +++ b/bin/cdist-deploy-to @@ -49,7 +49,7 @@ cdist-dir push "$__cdist_target_host" "${__cdist_abs_mydir}" "${__cdist_remote_b cdist-explorer-run-global "$__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" echo "cdist $__cdist_version: Successfully finished run on $__cdist_target_host" diff --git a/bin/cdist-object-run-all b/bin/cdist-object-run-all index 14a6d9b3..abf01b23 100755 --- a/bin/cdist-object-run-all +++ b/bin/cdist-object-run-all @@ -48,6 +48,8 @@ done < "$__cdist_objects" while [ $# -gt 0 ]; do __cdist_object="$1"; shift + echo + echo "Running object $__cdist_object" __cdist_type="$(__cdist_type_from_object "$__cdist_object")" @@ -67,6 +69,9 @@ while [ $# -gt 0 ]; do 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 cdist-object-gencode-run "$__cdist_target_host" "$__cdist_object"