Files
mgmt/examples/graph3c.yaml
2016-01-10 02:30:05 -05:00

45 lines
707 B
YAML

---
graph: mygraph
types:
noop:
- name: noop1c
file:
- name: file1c
path: "/tmp/mgmtC/f1c"
content: |
i am f1
state: exists
- name: file2c
path: "/tmp/mgmtC/f2c"
content: |
i am f2
state: exists
- name: "@@file3c"
path: "/tmp/mgmtC/f3c"
content: |
i am f3, exported from host C
state: exists
- name: "@@file4c"
path: "/tmp/mgmtC/f4c"
content: |
i am f4, exported from host C
state: exists
collect:
- type: file
pattern: "/tmp/mgmtC/"
edges:
- name: e1
from:
type: noop
name: noop1c
to:
type: file
name: file1c
- name: e2
from:
type: file
name: file1c
to:
type: file
name: file2c