forked from ungleich-public/cdist
begin to differentiate local and remote object code generation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
c77a6c5901
commit
1af34c74b8
3 changed files with 5 additions and 2 deletions
|
|
@ -23,11 +23,12 @@
|
|||
#
|
||||
|
||||
. cdist-config
|
||||
[ $# -eq 2 ] || __cdist_usage "<target host>" "<object>"
|
||||
[ $# -eq 2 ] || __cdist_usage "<target host>" "<object>" "<remote|local>"
|
||||
set -eu
|
||||
|
||||
__cdist_target_host="$1"; shift
|
||||
__cdist_object="$1"; shift
|
||||
__cdist_gencode_type="$1"; shift
|
||||
|
||||
__cdist_object_dir="$(__cdist_object_dir "$__cdist_object")"
|
||||
__cdist_type="$(__cdist_type_from_object "$__cdist_object")"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue