2011-02-04 22:27:19 +00:00
|
|
|
This document defines how to continue work on cdist:
|
|
|
|
|
|
|
|
x Define how to get information from clients
|
|
|
|
x Create shell script that creates code to run on client (cdist-build-explorer)
|
|
|
|
x Create configuration tree from manifest
|
|
|
|
x write binaries, which create the tree when called from manifest (cdist_tree_wrapper)
|
|
|
|
x Define configuration paths (doc/internal/config-layout)
|
|
|
|
x Redo explorers (see manpage)
|
|
|
|
|
2011-02-07 22:34:18 +00:00
|
|
|
x Parse configuration tree/objects recursively
|
|
|
|
x can/may types modify tree?
|
|
|
|
-> yes, of everything a type created itself!
|
|
|
|
x may open door for getting information from manifest / other stuff
|
|
|
|
|
2011-02-07 23:28:34 +00:00
|
|
|
x Cleanly define paths for object creation, especially recursive calls
|
|
|
|
x doc/man/cdist-config-layout.text
|
2011-02-07 22:34:18 +00:00
|
|
|
|
2011-02-04 22:27:19 +00:00
|
|
|
- generate code to be executed on client
|
|
|
|
- check return codes
|
|
|
|
- abort on first error?
|
|
|
|
|
2011-02-07 23:28:34 +00:00
|
|
|
- execute code on client
|
|
|
|
|
2011-02-07 22:34:18 +00:00
|
|
|
/ Write at least one type (completly!)
|
|
|
|
|
2011-02-04 22:27:19 +00:00
|
|
|
- doc 1.0:
|
|
|
|
- cdist manpage (main manpage)
|
|
|
|
- cleanup following man + their tree:
|
2011-02-07 23:28:34 +00:00
|
|
|
- cdist-language [CLEANUP AND REMOVE]
|
|
|
|
- cdist-design.text [CLEANUP AND REMOVE]
|
|
|
|
- cdist-push-pull [WRITE]
|
|
|
|
- cdist-quickstart [WRITE]
|
2011-02-04 22:27:19 +00:00
|
|
|
- how to write a minimal host manifest
|
|
|
|
- cdist-types [IMPORTANT]
|
|
|
|
- only do necessary work [TYPE IMPLEMENTATION HINTS]
|
|
|
|
- install packages only if not existent
|
|
|
|
- copy file only if different
|
|
|
|
- cdist [IMPORTANT]
|
|
|
|
- cdist-explorers
|
|
|
|
- add terminology
|
|
|
|
- define steps within configuration apply
|
|
|
|
- detect impossible/unsafe things:
|
|
|
|
- creating a file twice
|
|
|
|
- installing and removing a package
|
|
|
|
- and report location of occurence
|
|
|
|
- parse afterwards?
|
|
|
|
- multi master setups
|
|
|
|
- templating
|
|
|
|
- how to define templates
|
|
|
|
- variable substitution from shell may be problematic
|
|
|
|
- SHELL SCRIPTS! (executables? do not support?)
|
|
|
|
- stdout == output of template == what will be used
|
2011-02-04 22:28:54 +00:00
|
|
|
- cleanup website
|
|
|
|
- remove HACKERS_README
|
|
|
|
- create doc/dev/HACKERS_README
|
2011-02-04 22:27:19 +00:00
|
|
|
- Add install target to Makefile
|
2011-02-04 22:33:12 +00:00
|
|
|
- create cdist-config-init to create basic tree
|
2011-02-04 22:27:19 +00:00
|
|
|
|
|
|
|
- types needed
|
|
|
|
- file (with directory)
|
|
|
|
- package
|
|
|
|
|
|
|
|
- Cleanup directories, cleanly document, what's possible
|