restructure explorer

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 22:24:21 +01:00
commit d171ad5e64
5 changed files with 16 additions and 19 deletions

View file

@ -23,13 +23,13 @@
. cdist-config
[ $# -eq 1 ] || __cdist_usage "target_host"
[ $# -eq 1 ] || __cdist_usage "<target host>"
set -e
# Internal variables, usable by
export __cdist_target_host="$1"
export __cdist_intern_deploy_host="$(cdist_explore_hostname)"
export __cdist_source_host="$(cdist_explore_hostname)"
. cdist-build "$__cdist_intern_target_host"
. cdist-remote-exec "$__cdist_intern_target_host"