cdist/doc/dev/logs/2011-03-23.autorequire
Steven Armstrong 0c8432fd48 add ideas about dependecies
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 08:11:56 +01:00

32 lines
827 B
Text

Ziel: type __gugus soll abhaengig von type __foo sein
--------------------------------------------------------------------------------
__foo/manifest
__file /nice/file --source /some/where
__file /nice/other/file --source /some/where/else
__package gurk --state installed
--------------------------------------------------------------------------------
a) ohne autorequire
__gugus/manifest
require="__file/nice/file __file/nice/other/file __package/gurk" __file /whatever
--------------------------------------------------------------------------------
b) mit autorequire
__gugus/manifest
require="__foo/someid" __file /whatever
--------------------------------------------------------------------------------
Behauptung: __gugus sollte nicht ueber die internas von __foo bescheid wissen muessen