forked from ungleich-public/cdist
also setup homedir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
93f5ace932
commit
4d8840dba0
1 changed files with 9 additions and 2 deletions
|
@ -39,8 +39,15 @@ else
|
||||||
source="git://github.com/telmich/cdist.git"
|
source="git://github.com/telmich/cdist.git"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
__user "$username"
|
# Currently hardcoded - if anyone cares, make a parameter
|
||||||
|
# out of it
|
||||||
|
home=/home/$username
|
||||||
|
|
||||||
require="__user/$username" __git "$directory" \
|
__user "$username" --home "$home"
|
||||||
|
|
||||||
|
require="__username/$user" __directory "$home"
|
||||||
|
--owner "$username"
|
||||||
|
|
||||||
|
require="__user/$username __directory/$home" __git "$directory" \
|
||||||
--source "$source" \
|
--source "$source" \
|
||||||
--owner "$username" --branch "$branch"
|
--owner "$username" --branch "$branch"
|
||||||
|
|
Loading…
Reference in a new issue