forked from ungleich-public/cdist
++__cdist_echo + FIXME
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
2162d444b3
commit
caed694dee
2 changed files with 6 additions and 3 deletions
|
|
@ -32,11 +32,14 @@ __cdist_object="$1"; shift
|
|||
__cdist_code_local="$(__cdist_object_code "$__cdist_object")-${__cdist_name_gencode_local}"
|
||||
__cdist_code_remote="$(__cdist_object_code "$__cdist_object")-${__cdist_name_gencode_remote}"
|
||||
|
||||
echo "Generating local code for $__cdist_object ..."
|
||||
# FIXME: check that no file is created if there is no gencode
|
||||
# probably move output code to cdist-object-gencode
|
||||
|
||||
__cdist_echo info "Generating local code for $__cdist_object ..."
|
||||
cdist-object-gencode "$__cdist_target_host" "$__cdist_object" \
|
||||
"${__cdist_name_gencode_local}" > "${__cdist_code_local}"
|
||||
|
||||
echo "Generating remote code for $__cdist_object ..."
|
||||
__cdist_echo info "Generating remote code for $__cdist_object ..."
|
||||
cdist-object-gencode "$__cdist_target_host" "$__cdist_object" \
|
||||
"${__cdist_name_gencode_remote}" > "${__cdist_code_remote}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue