diff --git a/bin/cdist-object-manifest-run b/bin/cdist-object-manifest-run index 74a81469..ce44cbbc 100755 --- a/bin/cdist-object-manifest-run +++ b/bin/cdist-object-manifest-run @@ -29,10 +29,7 @@ set -eu __cdist_target_host="$1"; shift __cdist_object="$1"; shift -# Full path to current object __cdist_cur_object_dir="$(__cdist_object_dir "$__cdist_object")" - -# Only the id __cdist_object_id="$(__cdist_object_id_from_object "$__cdist_object")" echo "Checking manifest for $__cdist_object ..." diff --git a/bin/cdist-object-run b/bin/cdist-object-run index 6c159ecf..667bf386 100755 --- a/bin/cdist-object-run +++ b/bin/cdist-object-run @@ -41,8 +41,7 @@ export $__cdist_name_var_self=$__cdist_object __cdist_object_finished="$(__cdist_object_finished "$__cdist_object")" if [ ! -f "$__cdist_object_finished" ]; then - - # Resolve dependencies if any + # Resolve dependencies, if any __cdist_object_require="$(__cdist_object_require "$__cdist_object")" if [ -f "$__cdist_object_require" ]; then echo diff --git a/bin/cdist-type-emulator b/bin/cdist-type-emulator index d0464533..2dcb47b3 100755 --- a/bin/cdist-type-emulator +++ b/bin/cdist-type-emulator @@ -53,7 +53,6 @@ if [ "$(echo $__cdist_object_id | grep "^/")" ]; then else __cdist_object_self="${__cdist_type}/${__cdist_object_id}" fi - ################################################################################ # Internal quirks # diff --git a/bin/cdist-type-template b/bin/cdist-type-template index cd34027c..dc853614 100755 --- a/bin/cdist-type-template +++ b/bin/cdist-type-template @@ -27,7 +27,6 @@ set -eu __cdist_type="$1"; shift - # Base mkdir -p "$(__cdist_type_dir "$__cdist_type")" diff --git a/doc/dev/todo/TAKEME b/doc/dev/todo/TAKEME index 03c4f244..e4edeabe 100644 --- a/doc/dev/todo/TAKEME +++ b/doc/dev/todo/TAKEME @@ -6,10 +6,11 @@ Feel free to pick one! CORE ---- - Only build manpages if necessary for types as well as for the core! -- Add echo function: +- Add echo function / beautify output __cdist_echo [level] [messages...] level := syslog alike: debug, notice, err + Include object_self prefixing, if given! - Think about moving cdist-type-build-emulation out of cdist-manifest-run to cdist-deploy-to: more dependency of cdist-manifest-run, but a lot of less cycles consumed @@ -17,6 +18,12 @@ CORE - cdist-object-gencode: remove code if output empty? - also take care of that in cdist-code-run! - cdist-object-process -> cdist-object-prepare +- Remove cdist-object-push, covers only one line and is used only once: + [20:22] kr:bin% grep cdist-object-push * + cdist-object-run: cdist-object-push "$__cdist_target_host" "$__cdist_object" + [20:22] kr:bin% + +- probably remove or improve cdist-type-template TYPES ------