Files
mgmt/test/shell/t6.yaml
James Shubin 9788411995 engine: resources: Add another validation check
This simple check should prevent some silly mistakes and make the logic
easier for other parts of the code that won't have to worry about this
pattern.
2019-09-11 03:40:22 -04:00

40 lines
566 B
YAML

---
graph: mygraph
resources:
noop:
- name: noop1
file:
- name: file1
path: "/tmp/mgmt/f1"
content: |
i am f1
state: exists
- name: file2
path: "/tmp/mgmt/f2"
content: |
i am f2
state: exists
- name: file3
path: "/tmp/mgmt/f3"
content: |
i am f3
state: exists
- name: file4
path: "/tmp/mgmt/f4"
state: absent
edges:
- name: e1
from:
kind: file
name: file1
to:
kind: file
name: file2
- name: e2
from:
kind: file
name: file2
to:
kind: file
name: file3