forked from ungleich-public/cdist
a6e34dcb08
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
20 lines
436 B
Text
20 lines
436 B
Text
Steven, Nico
|
|
|
|
A type __get_and_build:
|
|
requires __directory /var/tmp
|
|
wget's source to /var/tmp
|
|
builds programm in /var/tmp
|
|
|
|
Question: How to define that this object depends on
|
|
__directory/var/tmp?
|
|
|
|
Answer for now:
|
|
require="__directory/var/tmp" $__self "$@"
|
|
-> construct $@ from params in directory
|
|
|
|
Answer2 for now:
|
|
Use a second type:
|
|
|
|
Answert for soon:
|
|
Should be doable easier!
|
|
|