forked from ungleich-public/cdist
cleanup todo for 1.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
8c27d00c23
commit
84497e176e
1 changed files with 60 additions and 61 deletions
45
TODO-1.0
45
TODO-1.0
|
@ -1,29 +1,42 @@
|
||||||
This document defines how to continue work on cdist:
|
This document defines how to continue work on cdist:
|
||||||
|
|
||||||
x Define how to get information from clients
|
x general stuff
|
||||||
|
x Define configuration paths (doc/internal/config-layout)
|
||||||
|
|
||||||
|
x get information from target (stage 1)
|
||||||
|
x Define how to get information from targets
|
||||||
x Create shell script that creates code to run on client (cdist-build-explorer)
|
x Create shell script that creates code to run on client (cdist-build-explorer)
|
||||||
|
x Redo explorers (see manpage)
|
||||||
|
x run initial manifest (stage 2)
|
||||||
x Create configuration tree from manifest
|
x Create configuration tree from manifest
|
||||||
x write binaries, which create the tree when called from manifest (cdist_tree_wrapper)
|
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)
|
|
||||||
|
|
||||||
|
- be able to run manifest of types (stage 3)
|
||||||
x Parse configuration tree/objects recursively
|
x Parse configuration tree/objects recursively
|
||||||
x can/may types modify tree?
|
x can/may types modify tree?
|
||||||
-> yes, of everything a type created itself!
|
-> yes, of everything a type created itself!
|
||||||
x may open door for getting information from manifest / other stuff
|
x may open door for getting information from manifest / other stuff
|
||||||
|
|
||||||
x Cleanly define paths for object creation, especially recursive calls
|
x Cleanly define paths for object creation, especially recursive calls
|
||||||
x doc/man/cdist-config-layout.text
|
x doc/man/cdist-config-layout.text
|
||||||
|
x cd $__object_dir, before running manifest
|
||||||
|
x rename $__object_dir to $__object_base_dir
|
||||||
|
- document "cd $__object_dir, before running manifest" in doc/man/cdist-types.text
|
||||||
|
- use $type/manifest instead of $type/init
|
||||||
|
- document that $type/manifest is executed for every object/instance
|
||||||
|
- find $object_id in recursive runner (before merge)
|
||||||
|
|
||||||
- generate code to be executed on client
|
- generate code to be executed on clients (stage 4)
|
||||||
|
x for one type (cdist-code-gen)
|
||||||
- check return codes
|
- check return codes
|
||||||
- abort on first error?
|
- abort on first error?
|
||||||
|
|
||||||
- execute code on client
|
- execute code on client (stage 5)
|
||||||
|
|
||||||
/ Write at least one type (completly!)
|
- Other stuff pre 1.0:
|
||||||
|
- Write some basic types
|
||||||
- doc 1.0:
|
- file (with directory)
|
||||||
|
- package
|
||||||
|
- doc cleanup for 1.0:
|
||||||
- cdist manpage (main manpage)
|
- cdist manpage (main manpage)
|
||||||
- cleanup following man + their tree:
|
- cleanup following man + their tree:
|
||||||
- cdist-language [CLEANUP AND REMOVE]
|
- cdist-language [CLEANUP AND REMOVE]
|
||||||
|
@ -55,17 +68,3 @@ x Cleanly define paths for object creation, especially recursive calls
|
||||||
- create doc/dev/HACKERS_README
|
- create doc/dev/HACKERS_README
|
||||||
- Add install target to Makefile
|
- Add install target to Makefile
|
||||||
- create cdist-config-init to create basic tree
|
- create cdist-config-init to create basic tree
|
||||||
|
|
||||||
- types needed
|
|
||||||
- file (with directory)
|
|
||||||
- package
|
|
||||||
|
|
||||||
- Cleanup directories, cleanly document, what's possible
|
|
||||||
|
|
||||||
- rename $__object_dir to $__object_base_dir
|
|
||||||
- cd $__object_dir, before running manifest
|
|
||||||
&& document it in doc/man/cdist-types.text
|
|
||||||
- use $type/manifest instead of $type/init
|
|
||||||
- document that $type/manifest is executed for every object/instance
|
|
||||||
- find $object_id in recursive runner
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue