forked from ungleich-public/cdist
rename *codegen -> gencode (according to manpage and the way types are defined)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9e42ce5b4e
commit
f2cfebd188
3 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ cdist-manifest-run-all "$__cdist_target_host" "$__cdist_out_object_dir"
|
||||||
cdist-object-explorer-all "$__cdist_target_host" "$__cdist_out_object_dir"
|
cdist-object-explorer-all "$__cdist_target_host" "$__cdist_out_object_dir"
|
||||||
|
|
||||||
# Generate code for all objects
|
# Generate code for all objects
|
||||||
cdist-object-codegen-all "$__cdist_target_host" "$__cdist_out_object_dir"
|
cdist-object-gencode-all "$__cdist_target_host" "$__cdist_out_object_dir"
|
||||||
|
|
||||||
# Transfer all objects including code
|
# Transfer all objects including code
|
||||||
cdist-dir push "$__cdist_target_host" "$__cdist_out_object_dir" \
|
cdist-dir push "$__cdist_target_host" "$__cdist_out_object_dir" \
|
||||||
|
|
|
@ -39,7 +39,7 @@ while read object; do
|
||||||
code="$(__cdist_object_code "$object")"
|
code="$(__cdist_object_code "$object")"
|
||||||
echo "Generating code for $object ..."
|
echo "Generating code for $object ..."
|
||||||
|
|
||||||
cdist-object-codegen "$__cdist_target_host" \
|
cdist-object-gencode "$__cdist_target_host" \
|
||||||
"$__cdist_object_base_dir" \
|
"$__cdist_object_base_dir" \
|
||||||
"$object" > "${code}"
|
"$object" > "${code}"
|
||||||
|
|
Loading…
Reference in a new issue