also update config-layout

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-01-17 22:45:56 +01:00
parent 78b10e0ea6
commit 385cf7ab2b

View file

@ -3,7 +3,7 @@ On the server:
conf/manifests/init conf/manifests/init
- the central entry point - the central entry point
- is a shell script - is a shell script
- defines mapping from providers to hosts - defines mapping from types to hosts
- will be called by cdist and the name - will be called by cdist and the name
will be available for tracking in will be available for tracking in
cdist core functions cdist core functions
@ -14,11 +14,11 @@ core/manifests/* (all other)
- method to seperate configuration parts - method to seperate configuration parts
conf/providers/<name>/ conf/types/<name>/
- provide standard types - provide standard types
- have required and optional arguments - have required and optional arguments
- are independent of hosts - are independent of hosts
- may make use of other providers to realise a new type - may make use of other types to realise a new type
- how to overwrite stuff? - how to overwrite stuff?
- overwrite in own tree? - overwrite in own tree?
- needs knowledge of inherited provider - needs knowledge of inherited provider
@ -26,14 +26,14 @@ conf/providers/<name>/
but more like reusable defines but more like reusable defines
- or may implement some functionality on their own - or may implement some functionality on their own
lib/providers/<name>/ lib/types/<name>/
- same as above, but provided by the cdist distribution - same as above, but provided by the cdist distribution
- if name exists in both, conf/ has priority - if name exists in both, conf/ has priority
Differences manifests vs. providers Differences manifests vs. types
manifests providers manifests types
main purpose map config to host provide functionality main purpose map config to host provide functionality
can change config no (prevent conflicts) yes (allow inheritance) can change config no (prevent conflicts) yes (allow inheritance)