cdist/doc/internal/config-layout
Nico Schottelius 7d00bd8b12 more ideas for the config layout
Signed-off-by: Nico Schottelius <nico@yoda.schottelius.org>
2011-01-15 17:32:15 +01:00

25 lines
848 B
Text

On the server:
conf/MANIFEST
- the central entry point
- is a shell script
- defines mapping from modules or providers to hosts
- can call other MANIFESTs in modules
- will be called by $whatever and relative path
will be setup for source tracking:
conf/providers/<name>/
- provide standard types
- have required and optional arguments
- are independent of hosts
- may make use of other providers to realise a new type
- how to overwrite stuff?
- overwrite in own tree?
- needs knowledge of inherited provider
- similar to current situation in puppet,
but more like reusable defines
- or may implement some functionality on their own
lib/providers/<name>/
- same as above, but included into cdist distribution
- if name exists in both, conf/ has priority