This monster patch embeds the etcd server. It took a good deal of iterative work to tweak small details, and survived a rewrite from the initial etcd v2 API implementation to the beta version of v3. It has a notable race, and is missing some features, but it is ready for git master and external developer consumption.
19 lines
303 B
YAML
19 lines
303 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1d
|
|
path: "/tmp/mgmtD/f1d"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
- name: "@@file2d"
|
|
path: "/tmp/mgmtD/f2d"
|
|
content: |
|
|
i am f2, exported from host D
|
|
state: exists
|
|
collect:
|
|
- kind: file
|
|
pattern: "/tmp/mgmtD/"
|
|
edges: []
|