forked from ungleich-public/cdist
begin to record requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
93eef6900a
commit
a501863f41
1 changed files with 5 additions and 0 deletions
|
@ -104,3 +104,8 @@ other="$(ls)"
|
||||||
if [ "$other" ]; then
|
if [ "$other" ]; then
|
||||||
__cdist_usage "Unsupported parameter: $other"
|
__cdist_usage "Unsupported parameter: $other"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Record requirements
|
||||||
|
for requirement in $require; do
|
||||||
|
echo $requirement >> "$(__cdist_object_require "$__cdist_object")"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue