cdist/docs/dev/logs/2011-03-23.autorequire

33 lines
827 B
Text
Raw Normal View History

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