2011-03-25 18:39:50 +00:00
|
|
|
UNASSIGNED TODOS
|
|
|
|
----------------
|
2011-03-24 15:02:15 +00:00
|
|
|
The following list of todos has not been assigned to any developer.
|
2011-03-25 18:39:50 +00:00
|
|
|
Feel free to pick one!
|
2011-03-24 15:02:15 +00:00
|
|
|
|
2011-03-25 18:39:50 +00:00
|
|
|
CORE
|
|
|
|
----
|
2011-06-13 23:11:12 +00:00
|
|
|
- Fix warnings / __cdist_usage in core/*
|
|
|
|
-> __cdist_usage prints $0! not function name!
|
2011-04-06 19:15:11 +00:00
|
|
|
- Inconsistent error messages if object is not existing!
|
|
|
|
-> always use "Object undefined"
|
2011-03-31 18:29:22 +00:00
|
|
|
- Add echo function / beautify output
|
2011-03-31 13:43:07 +00:00
|
|
|
__cdist_echo [level] [messages...]
|
|
|
|
level := syslog alike:
|
|
|
|
debug, notice, err
|
2011-03-31 18:29:22 +00:00
|
|
|
Include object_self prefixing, if given!
|
2011-03-31 16:43:08 +00:00
|
|
|
- Think about moving cdist-type-build-emulation out of cdist-manifest-run to
|
|
|
|
cdist-deploy-to: more dependency of cdist-manifest-run, but a lot of
|
|
|
|
less cycles consumed
|
2011-03-24 15:02:15 +00:00
|
|
|
|
2011-03-31 17:35:26 +00:00
|
|
|
- cdist-object-gencode: remove code if output empty?
|
|
|
|
- also take care of that in cdist-code-run!
|
2011-03-31 18:29:22 +00:00
|
|
|
- Remove cdist-object-push, covers only one line and is used only once:
|
|
|
|
[20:22] kr:bin% grep cdist-object-push *
|
|
|
|
cdist-object-run: cdist-object-push "$__cdist_target_host" "$__cdist_object"
|
|
|
|
[20:22] kr:bin%
|
|
|
|
|
|
|
|
- probably remove or improve cdist-type-template
|
2011-04-05 13:19:33 +00:00
|
|
|
- add $__tmp?
|
|
|
|
- for use in manifest, code, etc.?
|
|
|
|
- for creating temporary files, etc.
|
2011-03-24 15:02:15 +00:00
|
|
|
|
2011-04-05 15:58:09 +00:00
|
|
|
- How to cleanly implement "restart service if config file changed"
|
2011-04-04 22:11:19 +00:00
|
|
|
|
2011-04-05 18:26:00 +00:00
|
|
|
- Cache
|
|
|
|
- add example how to use
|
|
|
|
- export variable $__cache
|
|
|
|
-> for current host
|
|
|
|
-> add function to cdist-config, import from cdist-cache
|
|
|
|
|
|
|
|
- check all all internal variables are prefixed with __cdist
|
2011-06-08 19:25:52 +00:00
|
|
|
- Define / document "this is what should be on host X"
|
|
|
|
and have it parsable by different (shinken) tool
|
|
|
|
-> given after manifest run already!
|
2011-04-05 18:26:00 +00:00
|
|
|
|
2011-06-17 11:59:53 +00:00
|
|
|
- Allow types to have parameters without values (boolean flags).
|
|
|
|
e.g. __chair fancychair --pink --wood
|
|
|
|
would result in:
|
|
|
|
$__object/parameter/
|
|
|
|
pink # empty file
|
|
|
|
wood # empty file
|
|
|
|
|
2011-07-26 15:22:59 +00:00
|
|
|
- allow cdist to run without $PATH setup: ./bin/cdist-deploy-to
|
2011-06-17 11:59:53 +00:00
|
|
|
|
2011-03-25 18:39:50 +00:00
|
|
|
TYPES
|
|
|
|
------
|
2011-04-02 12:40:31 +00:00
|
|
|
- __ssh-keys (host/user)
|
|
|
|
- __file_edit
|
|
|
|
- regexp replace (can probably cover all?)
|
|
|
|
-> aka sed.
|
|
|
|
- __cron
|
2011-04-05 18:26:00 +00:00
|
|
|
- __user
|
2011-04-02 12:40:31 +00:00
|
|
|
add option to include --create-home
|
2011-03-23 12:21:18 +00:00
|
|
|
|
2011-03-28 20:43:50 +00:00
|
|
|
DOCUMENTATION
|
|
|
|
--------------
|
|
|
|
- asciidoc interprets __, which we use for variables
|
|
|
|
names -> seek through docs and replace with \_\_!
|
2011-04-04 22:11:19 +00:00
|
|
|
- reference explorers in cdist-reference!
|
2011-04-07 10:01:55 +00:00
|
|
|
- compare running times:
|
|
|
|
one, 5, 10, 50, 100, 1000 hosts => how does cdist scale?
|