2010-11-01 15:19:54 +00:00
|
|
|
On the server:
|
|
|
|
|
2011-01-15 16:44:41 +00:00
|
|
|
conf/manifests/init
|
2011-01-15 13:15:05 +00:00
|
|
|
- the central entry point
|
|
|
|
- is a shell script
|
2011-01-17 21:45:56 +00:00
|
|
|
- defines mapping from types to hosts
|
2011-01-15 16:44:41 +00:00
|
|
|
- will be called by cdist and the name
|
|
|
|
will be available for tracking in
|
|
|
|
cdist core functions
|
|
|
|
|
2011-02-03 12:24:56 +00:00
|
|
|
conf/manifests/* (all other)
|
2011-01-15 16:44:41 +00:00
|
|
|
- same function as above
|
|
|
|
- but won't be called by cdist
|
|
|
|
- method to seperate configuration parts
|
|
|
|
|
2010-11-01 15:19:54 +00:00
|
|
|
|
2011-01-17 21:45:56 +00:00
|
|
|
conf/types/<name>/
|
2011-01-15 14:38:05 +00:00
|
|
|
- provide standard types
|
2011-01-15 16:32:15 +00:00
|
|
|
- have required and optional arguments
|
|
|
|
- are independent of hosts
|
2011-01-17 21:45:56 +00:00
|
|
|
- may make use of other types to realise a new type
|
2011-01-15 14:38:05 +00:00
|
|
|
- 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
|
|
|
|
|
2011-02-03 12:24:56 +00:00
|
|
|
conf/explorers/<name>
|
|
|
|
- explorers to be run on the target hosts
|
2011-01-15 16:55:31 +00:00
|
|
|
|
2011-01-17 21:45:56 +00:00
|
|
|
Differences manifests vs. types
|
2011-01-15 16:55:31 +00:00
|
|
|
|
|
|
|
|
2011-01-17 21:45:56 +00:00
|
|
|
manifests types
|
2011-01-15 16:55:31 +00:00
|
|
|
|
|
|
|
main purpose map config to host provide functionality
|
|
|
|
can change config no (prevent conflicts) yes (allow inheritance)
|
|
|
|
specificness site specific (globally) reusable
|