forked from ungleich-public/cdist
tell user which codegen block is executed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
8aa560d111
commit
9ce7d55a29
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
. cdist-config
|
. cdist-config
|
||||||
|
|
||||||
if [ $# -ne 3 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
__cdist_usage "<target host> <object_base_dir>"
|
__cdist_usage "<target host> <object_base_dir>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ __cdist_object_list "$__cdist_object_base_dir" > "$__cdist_tmp_file"
|
||||||
|
|
||||||
while read object; do
|
while read object; do
|
||||||
code="$(__cdist_object_code "$object")"
|
code="$(__cdist_object_code "$object")"
|
||||||
|
echo "Generating code for $object ..."
|
||||||
|
|
||||||
cdist-object-codegen "$__cdist_target_host" \
|
cdist-object-codegen "$__cdist_target_host" \
|
||||||
"$__cdist_object_base_dir" \
|
"$__cdist_object_base_dir" \
|
||||||
|
|
Loading…
Reference in a new issue