add some thoughts on changes for multiple directory search for types and explorers

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-10-30 07:41:42 +01:00
parent 80e42c133d
commit a81525b101

View file

@ -0,0 +1,32 @@
Installed paths: (read first)
os.path.dirname(cdist.__file__)
/conf/explorer
/conf/type
User paths: (read after, overwrite)?
$HOME/.cdist
/explorer
/type
/manifest
Additional paths:
CDIST_EXPLORER_EXTRA_PATH=...
CDIST_TYPE_EXTRA_PATH=...
or
-c dir -c dir2 -c ... =>
add types and explorer from those directories
last one wins?
because they can only be appended to existing "$PATH"
Open questions:
- How to tell types to use global explorer?
- How to tell types to find other types?