Naming the resources "type" was a stupid mistake, and is a huge source of confusion when also talking about real types. Fix this before it gets out of hand.
23 lines
306 B
YAML
23 lines
306 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file2
|
|
path: "/tmp/mgmt/f2"
|
|
content: |
|
|
i am f2
|
|
state: exists
|
|
- name: file3
|
|
path: "/tmp/mgmt/f3"
|
|
content: |
|
|
i am f3
|
|
state: exists
|
|
edges:
|
|
- name: e2
|
|
from:
|
|
res: file
|
|
name: file2
|
|
to:
|
|
res: file
|
|
name: file3
|