forked from ungleich-public/cdist
++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ec513eae49
commit
8924a9583d
2 changed files with 5 additions and 1 deletions
|
@ -175,6 +175,10 @@ __cdist_echo()
|
|||
error)
|
||||
echo $__cdist_echo_prefix "Error: $@" >&2
|
||||
;;
|
||||
*)
|
||||
echo "CORE BUG, who created the broken commit?" >&2
|
||||
exit 23
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ if [ "$__cdist_has_explorer" ]; then
|
|||
if ! __cdist_type_explorer_pushed "$__cdist_type"; then
|
||||
src_dir="$(__cdist_type_explorer_dir "$__cdist_type")"
|
||||
dst_dir="$(__cdist_remote_type_explorer_dir "$__cdist_type")"
|
||||
echo "Transfering explorers for $__cdist_type ..."
|
||||
__cdist_echo info "Transfering explorers for $__cdist_type ..."
|
||||
cdist-dir push "$__cdist_target_host" "$src_dir" "$dst_dir"
|
||||
__cdist_type_explorer_pushed_add "$__cdist_type"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue