forked from ungleich-public/cdist
begin to cleanup bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6e6643d9d1
commit
06ce87a289
2 changed files with 20 additions and 1 deletions
|
|
@ -28,6 +28,23 @@ set -eu
|
|||
__cdist_target_host="$1"; shift
|
||||
__cdist_object_base_dir="$1"; shift
|
||||
|
||||
################################################################################
|
||||
# New code
|
||||
#
|
||||
|
||||
# Get listing of objects
|
||||
|
||||
# Get listing of types used
|
||||
|
||||
# For every type that has explorers, Transfer the explorers
|
||||
|
||||
# For every object of a type that has explorers, execute the explorers
|
||||
# and retrieve the results
|
||||
|
||||
################################################################################
|
||||
# Old code
|
||||
#
|
||||
|
||||
__cdist_object_list "$__cdist_object_base_dir" > "$__cdist_tmp_file"
|
||||
|
||||
# need to create pseudo array, as ssh in cdist-explorer-run will destroy while-read loops
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue