cdist/doc/dev/logs/2011-05-12
Nico Schottelius a6e34dcb08 add second answer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 12:06:20 +02:00

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!