cleanup bin/cdist-explorer-run-global and rename it from bin/cdist-explorer-run-init

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-17 23:46:13 +01:00
parent 0f8a0097e0
commit 6b098bff3b
2 changed files with 5 additions and 6 deletions

View File

@ -47,7 +47,7 @@ echo "Transferring cdist binaries ...X"
cdist-dir push "$__cdist_target_host" "${__cdist_abs_mydir}" "${__cdist_remote_bin_dir}"
# Execute general explorers
cdist-explorer-run-init "$__cdist_target_host" "$__cdist_out_explorer_dir"
cdist-explorer-run-global "$__cdist_target_host"
# Create initial object base
cdist-manifest-run-init "$__cdist_target_host" "$__cdist_out_object_dir"

View File

@ -18,17 +18,16 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
#
#
# Copy & run the general explorers, i.e. not bound to types
# Copy & run the global explorers, i.e. not bound to types
#
. cdist-config
[ $# -eq 2 ] || __cdist_usage "<target_host> <out_dir>"
[ $# -eq 1 ] || __cdist_usage "<target_host>"
set -ue
__cdist_target_host="$1"; shift
__cdist_my_out_dir="$1"; shift
echo "Running general explorers ..."
echo "Running global explorers ..."
# copy the explorers
cdist-dir push "$__cdist_target_host" \
@ -41,4 +40,4 @@ cdist-run-remote "${__cdist_target_host}" cdist-remote-explorer-run \
# retrieve the results
cdist-dir pull "$__cdist_target_host" \
"${__cdist_remote_out_explorer_dir}" "${__cdist_my_out_dir}"
"${__cdist_remote_out_explorer_dir}" "${__cdist_out_explorer_dir}"