2011-03-22 11:37:40 +00:00
|
|
|
Core:
|
|
|
|
- allow redefine object, if everything same
|
|
|
|
- support $__self = relative_type/object_id
|
|
|
|
- .cdist
|
|
|
|
- cache
|
|
|
|
|
2011-03-21 13:46:15 +00:00
|
|
|
Cache:
|
|
|
|
Assume you want to configure stuff one host ("monitor node"),
|
|
|
|
depending on the configuration of other hosts ("cluster nodes").
|
|
|
|
|
|
|
|
For instance, the monitor host would like to know,
|
|
|
|
which hosts are configured with the provider
|
|
|
|
"apache" and option --start true.
|
|
|
|
|
|
|
|
This requires the monitor node to be able to
|
|
|
|
query all other configured nodes. It can't
|
|
|
|
ask for all hosts, because cdist does not
|
|
|
|
know which hosts are configured or may exist.
|
|
|
|
|
|
|
|
Example implementation
|
|
|
|
|
|
|
|
If cdist keeps ("caches") the configuration of every
|
|
|
|
node it configures, each new node can query the
|
|
|
|
cache for existing nodes that acquired the given
|
|
|
|
configuration.
|
2011-03-16 09:31:22 +00:00
|
|
|
|
2011-02-26 10:33:19 +00:00
|
|
|
Types to be written/extended:
|
2011-03-21 13:04:26 +00:00
|
|
|
- __ssh-keys (host/user)
|
2011-02-26 10:33:19 +00:00
|
|
|
- __service
|
|
|
|
- __file_edit
|
2011-02-04 22:27:19 +00:00
|
|
|
- regexp replace (can probably cover all?)
|
2011-03-22 11:37:40 +00:00
|
|
|
-> aka sed.
|
2011-03-18 01:20:59 +00:00
|
|
|
- __cron
|