This is the third main feature of this system. The code needs a bunch of polish, but it actually all works :) I've tested this briefly with N <= 3. Currently you have to build your own etcd cluster. It's quite easy, just run `etcd` and it will be ready. I usually run it in a throw away /tmp/ dir so that I can blow away the stored data easily.
19 lines
279 B
YAML
19 lines
279 B
YAML
---
|
|
graph: mygraph
|
|
types:
|
|
file:
|
|
- name: file1
|
|
path: "/tmp/mgmt/f1"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
- name: "@@file3"
|
|
path: "/tmp/mgmt/f3"
|
|
content: |
|
|
i am f3, exported from host A
|
|
state: exists
|
|
collect:
|
|
- type: file
|
|
pattern: ''
|
|
edges:
|