2011-02-25 00:53:29 +00:00
|
|
|
Steps needed until 1.0:
|
|
|
|
|
|
|
|
- finish type __file
|
|
|
|
- finish type __package
|
|
|
|
- cleanup documentation (see below)
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2011-02-04 22:27:19 +00:00
|
|
|
This document defines how to continue work on cdist:
|
|
|
|
|
2011-02-16 18:59:43 +00:00
|
|
|
x general stuff
|
|
|
|
x Define configuration paths (doc/internal/config-layout)
|
2011-02-25 00:52:10 +00:00
|
|
|
x check whether remote and local view of objects can be the same,
|
2011-02-22 23:25:28 +00:00
|
|
|
i.e. local:/outdir == remote:/var/lib/cdist
|
2011-02-25 00:52:10 +00:00
|
|
|
x similar, but not the same
|
2011-02-04 22:27:19 +00:00
|
|
|
|
2011-02-16 18:59:43 +00:00
|
|
|
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 Redo explorers (see manpage)
|
|
|
|
x run initial manifest (stage 2)
|
|
|
|
x Create configuration tree from manifest
|
|
|
|
x write binaries, which create the tree when called from manifest (cdist_tree_wrapper)
|
2011-02-07 22:34:18 +00:00
|
|
|
|
2011-02-19 11:50:54 +00:00
|
|
|
x be able to run manifest of types (stage 3)
|
2011-02-16 18:59:43 +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
|
|
|
|
x Cleanly define paths for object creation, especially recursive calls
|
|
|
|
x doc/man/cdist-config-layout.text
|
|
|
|
x cd $__object_dir, before running manifest
|
|
|
|
x rename $__object_dir to $__object_base_dir
|
2011-02-17 08:49:56 +00:00
|
|
|
x use $type/manifest instead of $type/init
|
|
|
|
x find $object_id in recursive runner (before merge)
|
2011-02-25 00:52:10 +00:00
|
|
|
x move parameters of object to subdir parameter
|
|
|
|
x run explorers for every object
|
2011-02-07 22:34:18 +00:00
|
|
|
|
2011-02-16 20:57:33 +00:00
|
|
|
x generate code to be executed on clients (stage 4)
|
|
|
|
x for one object
|
|
|
|
x for all objects
|
2011-02-04 22:27:19 +00:00
|
|
|
|
2011-02-18 23:10:07 +00:00
|
|
|
x execute code on client (stage 5)
|
2011-02-07 23:28:34 +00:00
|
|
|
|
2011-02-16 18:59:43 +00:00
|
|
|
- Other stuff pre 1.0:
|
|
|
|
- doc cleanup for 1.0:
|
2011-02-19 11:50:54 +00:00
|
|
|
- ensure every file in bin/ has a correspondent manpage
|
2011-02-16 18:59:43 +00:00
|
|
|
- cdist manpage (main manpage)
|
|
|
|
- cleanup following man + their tree:
|
|
|
|
- cdist-language [CLEANUP AND REMOVE]
|
|
|
|
- cdist-design.text [CLEANUP AND REMOVE]
|
|
|
|
- cdist-push-pull [WRITE]
|
|
|
|
- cdist-quickstart [WRITE]
|
|
|
|
- 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
|
|
|
|
- cleanup website
|
|
|
|
- remove HACKERS_README
|
|
|
|
- create doc/dev/HACKERS_README
|
|
|
|
- Add install target to Makefile
|
2011-02-04 22:33:12 +00:00
|
|
|
- create cdist-config-init to create basic tree
|
2011-02-20 01:05:53 +00:00
|
|
|
- cdist-type integration!
|
2011-02-19 11:50:54 +00:00
|
|
|
- DOC document "cd $__object_dir, before running manifest" in doc/man/cdist-types.text
|
|
|
|
- DOC document that $type/manifest is executed for every object/instance
|
|
|
|
- DOC: types can always access __cdist_out_objects, __cdist_out_explorers, __cdist_out_execs
|
|
|
|
--> create cdist-variables document?
|
|
|
|
|
|
|
|
- include generation in makefile
|